trivial compiler warning

This commit is contained in:
Jeff Lenk 2012-09-18 22:10:47 -05:00
parent 96da521634
commit b39232c7ff
1 changed files with 1 additions and 1 deletions

View File

@ -1446,7 +1446,7 @@ static int preprocess(const char *cwd, const char *file, FILE *write_fd, int rle
}
if ((cmd = strstr(bp, "<!--#"))) {
if (fwrite(bp, 1, (unsigned) (cmd - bp), write_fd) != (cmd - bp)) {
if (fwrite(bp, 1, (unsigned) (cmd - bp), write_fd) != (unsigned) (cmd - bp)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Short write!\n");
}
if ((e = strstr(cmd, "-->"))) {