Fixed build warning "passing arg from incompatible pointer type"
commit22852666ddf3e77404373042ceecb19747ae25cd
authorTim Prouty <tim.prouty@isilon.com>
Tue, 7 Oct 2008 17:30:22 +0000 (7 10:30 -0700)
committerTim Prouty <tim.prouty@isilon.com>
Tue, 7 Oct 2008 17:30:22 +0000 (7 10:30 -0700)
tree046346c951a0ee54f8cfcb07d59927282b020a9f
parent03cbea1d653c716b16347c831aa56dca0eb297ab
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
source/modules/vfs_smb_traffic_analyzer.c