summaryrefslogtreecommitdiffstats
path: root/src/file_lnk.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-03-22 14:55:20 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-03-22 14:55:20 +0100
commit5ce142dbabfc57b08f47d4d7772e5e4682f0f16e (patch)
treea9ad4f0ef9b490ee84778d792891b9e5fd4da3a3 /src/file_lnk.c
parentc64fe5f9964c88fc090f57b6bee2b29d9452bd61 (diff)
Fix sign/unsigness problem
Diffstat (limited to 'src/file_lnk.c')
-rw-r--r--src/file_lnk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_lnk.c b/src/file_lnk.c
index ba3a0dc..72c9718 100644
--- a/src/file_lnk.c
+++ b/src/file_lnk.c
@@ -198,7 +198,7 @@ static int header_check_lnk(const unsigned char *buffer, const unsigned int buff
log_debug("LNK extra stuff at 0x%04x=%04x\n", i, len);
i+=4;
i+=len;
- log_debug("LNK size %d (0x%04x)\n", i, i);
+ log_debug("LNK size %u (0x%04x)\n", i, i);
reset_file_recovery(file_recovery_new);
file_recovery_new->extension=file_hint_lnk.extension;
file_recovery_new->calculated_file_size=i;