Fixed build warning "passing arg from incompatible pointer type"
commita551938b0baa75281e9dd192a1209512052e105b
authorTim Prouty <tim.prouty@isilon.com>
Tue, 7 Oct 2008 17:30:22 +0000 (7 10:30 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Dec 2008 10:22:16 +0000 (9 11:22 +0100)
treee25317c8a9fa2bf439d47114c2cfe532456a1a7d
parent3533ecc9382e7b442f2b278edb0882033dfd1bad
Fixed build warning "passing arg from incompatible pointer type"

The fix explicitly makes the conversion from timeval to time_t using the
existing time utility functions.

Compiling modules/vfs_smb_traffic_analyzer.c
modules/vfs_smb_traffic_analyzer.c: In function `smb_traffic_analyzer_send_data':
modules/vfs_smb_traffic_analyzer.c:173: warning: passing arg 1 of `localtime' from incompatible pointer type
(cherry picked from commit 22852666ddf3e77404373042ceecb19747ae25cd)
(cherry picked from commit ed955214133c264865d2f6ca532349f0c1ea8d4b)
source/modules/vfs_smb_traffic_analyzer.c