diff options
author | John van Groningen | 2006-06-20 15:28:30 +0000 |
---|---|---|
committer | John van Groningen | 2006-06-20 15:28:30 +0000 |
commit | 1460ad53cca5c98a6d78aafa0a3735271bd5ebdc (patch) | |
tree | 57e5b44fe8bcc5b0372ae0fd61d47416dd8b3a34 | |
parent | fix boolean returned by fseek (diff) |
use signed compare in is_special_file
-rw-r--r-- | wfileIO3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ struct file file_table[MAX_N_FILES]; static int number_of_files=FIRST_REAL_FILE; -#define is_special_file(f) ((size_t)(f)<(size_t)(&file_table[FIRST_REAL_FILE])) +#define is_special_file(f) ((CLEAN_INT)(f)<(CLEAN_INT)(&file_table[FIRST_REAL_FILE])) static char *clean_to_c_string (struct clean_string *cs) { |