diff --git a/src/elogd.c b/src/elogd.c index 751d2b3c..c3d84c61 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -571,7 +571,7 @@ int my_read(int fh, void *buffer, unsigned int bytes) n += i; - } while (n < bytes); + } while (n < (int)bytes); #else return read(fh, buffer, bytes); #endif