openbsd-ports/sysutils/sleuthkit/patches/patch-tools_srchtools_sigfind_cpp
2011-03-15 20:51:26 +00:00

14 lines
523 B
Plaintext

$OpenBSD: patch-tools_srchtools_sigfind_cpp,v 1.2 2011/03/15 20:51:26 landry Exp $
XXX needs to be removed once daddr64_t is replaced by daddr_t
--- tools/srchtools/sigfind.cpp.orig Tue Mar 15 21:25:40 2011
+++ tools/srchtools/sigfind.cpp Tue Mar 15 21:25:46 2011
@@ -49,7 +49,7 @@ main(int argc, char **argv)
int fd;
int offset = 0, rel_offset = 0;
int read_size = 512, bs = 512;
- daddr_t i, prev_hit;
+ daddr64_t i, prev_hit;
int sig_size = 0;
uint8_t lit_end = 0;
int sig_print = 0;