Fixed build warning "passing arg from incompatible pointer type"
commited955214133c264865d2f6ca532349f0c1ea8d4b
authorTim Prouty <tim.prouty@isilon.com>
Tue, 7 Oct 2008 17:30:22 +0000 (7 10:30 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Oct 2008 16:48:48 +0000 (15 18:48 +0200)
tree63af6aab417f70b665ce4b1eee94ce3a1f7e1a53
parentfa3096b975de2c7fd747ca9f344e36c911e27a9c
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)
source/modules/vfs_smb_traffic_analyzer.c