Fixed build warning "passing arg from incompatible pointer type"
commita1dd4fc647340238eac10d411f531e37dba901b9
authorTim Prouty <tim.prouty@isilon.com>
Tue, 7 Oct 2008 16:47:46 +0000 (7 09:47 -0700)
committerTim Prouty <tim.prouty@isilon.com>
Tue, 7 Oct 2008 16:47:46 +0000 (7 09:47 -0700)
treeee8ecf4ecbbfeb42a698b23c71c59e8f8077f6e7
parent2334140b6c22f52930b7d168d6f26c18032d5efc
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