diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2007-12-17 11:41:36 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2007-12-17 11:41:36 +0100 |
commit | f4cbb762c22120be94a4046b691873fd237e6aa3 (patch) | |
tree | 8b46ded8193f06b382dc5a26a01f4f7919236eac | |
parent | 9893fc297b6437a9eb67cdf2cd74c8a38d57527b (diff) | |
download | e2tools-f4cbb762c22120be94a4046b691873fd237e6aa3.tar.gz e2tools-f4cbb762c22120be94a4046b691873fd237e6aa3.tar.xz e2tools-f4cbb762c22120be94a4046b691873fd237e6aa3.zip |
Explicitly cast ext2_off_t to (signed) int32_t
-rw-r--r-- | tail.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -284,7 +284,7 @@ tail(ext2_filsys *fs_ptr, ext2_ino_t root, char *input, int num_lines, bytes_to_read = BLK_SIZE; offset -= bytes_to_read; - if (offset < 0) + if (((int32_t)offset) < 0) offset = 0; do |