summaryrefslogtreecommitdiffstats
path: root/src/file_r3d.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-11-15 12:29:48 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2014-11-15 12:29:48 +0100
commit5ed8822f2b3cc95bf7f9bda45bf7b57e8a693f6d (patch)
tree69fd55db22dbc9b3d4d7ebc6aba46203a9c82b0e /src/file_r3d.c
parent17040353bc6dc9d3ac701037fe90ce69382fb49f (diff)
Turn off various signed/unsigned comparaison warnings
Diffstat (limited to 'src/file_r3d.c')
-rw-r--r--src/file_r3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_r3d.c b/src/file_r3d.c
index c0f4265..a39c47a 100644
--- a/src/file_r3d.c
+++ b/src/file_r3d.c
@@ -129,7 +129,7 @@ static void file_rename_r3d(const char *old_filename)
{
unsigned char buffer[512];
FILE *file;
- int buffer_size;
+ size_t buffer_size;
unsigned int i;
if((file=fopen(old_filename, "rb"))==NULL)
return;