aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-02-28 22:19:43 +0100
committerChristian Grothoff <christian@grothoff.org>2018-02-28 22:19:43 +0100
commite14fac7f0dffe60e5c21c0335d6642152bab8a2f (patch)
tree128f9d8fa9fc74413cb73776900c57345d1237ee
parent6c70420641fc1d081bcecf323671ca169b13a129 (diff)
downloadlibextractor-e14fac7f0dffe60e5c21c0335d6642152bab8a2f.tar.gz
libextractor-e14fac7f0dffe60e5c21c0335d6642152bab8a2f.zip
fix #5253
-rw-r--r--src/plugins/nsfe_extractor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/nsfe_extractor.c b/src/plugins/nsfe_extractor.c
index 7369477..2f6ab8b 100644
--- a/src/plugins/nsfe_extractor.c
+++ b/src/plugins/nsfe_extractor.c
@@ -60,8 +60,9 @@ static uint32_t
60nsfeuint (const char *data) 60nsfeuint (const char *data)
61{ 61{
62 uint32_t value = 0; 62 uint32_t value = 0;
63 int i;
63 64
64 for (int i = 3; i > 0; i--) 65 for (i = 3; i > 0; i--)
65 { 66 {
66 value += (unsigned char) data[i]; 67 value += (unsigned char) data[i];
67 value *= 0x100; 68 value *= 0x100;