diff options
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 1c4cab829..34a53e63e 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -1113,7 +1113,7 @@ retry: size = 0x7ff0L - linerest; /* limit buffer to 32K */ #endif - for ( ; size >= 10; size = (long_u)size >> 1) + for ( ; size >= 10; size = (long)((long_u)size >> 1)) { if ((new_buffer = lalloc((long_u)(size + linerest + 1), FALSE)) != NULL) |