Fixed build warning "passing arg from incompatible pointer type"
commit5fc1539699b22021e810f02008dfd07bbce92685
authorTim Prouty <tim.prouty@isilon.com>
Tue, 7 Oct 2008 16:47:46 +0000 (7 09:47 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Oct 2008 16:04:52 +0000 (15 18:04 +0200)
tree46398689bc5551b25735c6233950d68174313bea
parent727a899db47ec6b87f5c8ab9d826b33d63c2b72c
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 a1dd4fc647340238eac10d411f531e37dba901b9)
source/modules/vfs_smb_traffic_analyzer.c