From 56fd10435a4019e15783ed4a53ddb53722bcac20 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 26 Oct 2017 12:50:38 +0000
Subject: [PATCH] Use load_image_cv() on OpenCV 3.x
---
src/parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/parser.c b/src/parser.c
index 922227a..ae9e194 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -836,7 +836,7 @@
fwrite(&major, sizeof(int), 1, fp);
fwrite(&minor, sizeof(int), 1, fp);
fwrite(&revision, sizeof(int), 1, fp);
- fwrite(net.seen, sizeof(int), 1, fp);
+ fwrite(net.seen, sizeof(uint64_t), 1, fp);
int i;
for(i = 0; i < net.n && i < cutoff; ++i){
--
Gitblit v1.10.0