diff options
Diffstat (limited to 'test/rspamd_shingles_test.c')
-rw-r--r-- | test/rspamd_shingles_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rspamd_shingles_test.c b/test/rspamd_shingles_test.c index 44bc1e789..e6cd0abb3 100644 --- a/test/rspamd_shingles_test.c +++ b/test/rspamd_shingles_test.c @@ -107,7 +107,7 @@ test_case (gsize cnt, gsize max_len, gdouble perm_factor) res = rspamd_shingles_compare (sgl, sgl_permuted); - msg_debug ("percentage of common shingles: %.3f, generate time: %Hd usec", + msg_debug ("percentage of common shingles: %.3f, generate time: %hd usec", res, ts_to_usec (&ts2) - ts_to_usec (&ts1)); g_assert_cmpfloat (fabs ((1.0 - res) - sqrt (perm_factor)), <=, 0.20); |