Changeset 2738

Show
Ignore:
Timestamp:
07/14/08 15:09:44 (4 months ago)
Author:
dhozac
Message:

Silence warnings.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/h2ext.c

    r2718 r2738  
    229229  *buf = '\0'; 
    230230  while (1) { 
    231     if ((eol = strchr(buf, '\n')) == NULL && (end - buf) < (sizeof(buf) - 1)) { 
     231    if ((eol = strchr(buf, '\n')) == NULL && (end - buf) < (signed) (sizeof(buf) - 1)) { 
    232232      bytes_read = Eread(fd, end, sizeof(buf) - 1 - (end - buf)); 
    233233      /* EOF, implicit newline */