inliniac/suricata — pull request #930 by inliniac (2014-04-14 06:00:21+00:00)
Title: Fix 2 compiler warnings

FreeBSD 10 32-bit with clang 3.3:

log-tlslog.c:172:14: error: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Werror,-Wformat]
p->ts.tv_sec,
^~~~~~~~~~~~
1 error generated.

detect-engine-payload.c:508:27: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat]
printf("%ld.%06ld\n", tv_diff.tv_sec, (long int)tv_diff.tv_usec);
~~~ ^~~~~~~~~~~~~~
%d
1 warning generated.

Prscript:
- PR build: https://buildbot.suricata-ids.org/builders/inliniac/builds/258
- PR pcaps: https://buildbot.suricata-ids.org/builders/inliniac-pcap/builds/177