diff options
Diffstat (limited to 'example')
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 59bafe15f..02af0c699 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -5249,7 +5249,7 @@ void analyzeUnitTest() { u_int32_t i; for(i=0; i<256; i++) { - ndpi_data_add_value(s, rand()*i); + ndpi_data_add_value(s, rand() * (u_int64_t)i); // ndpi_data_add_value(s, i+1); } |