aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/make-fingerprint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib-src/make-fingerprint.c b/lib-src/make-fingerprint.c
index 5779e0d2746..2417548d8ca 100644
--- a/lib-src/make-fingerprint.c
+++ b/lib-src/make-fingerprint.c
@@ -144,7 +144,8 @@ main (int argc, char **argv)
144 144
145 for (char *finger = buf; 145 for (char *finger = buf;
146 (finger = memmem (finger, buf + chunksz - finger, 146 (finger = memmem (finger, buf + chunksz - finger,
147 fingerprint, sizeof fingerprint)); 147 (unsigned char *) fingerprint,
148 sizeof fingerprint));
148 finger++) 149 finger++)
149 { 150 {
150 if (! (fseeko (f, finger - buf, SEEK_SET) == 0 151 if (! (fseeko (f, finger - buf, SEEK_SET) == 0