diff options
author | eapache <eapache@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-07-19 22:09:44 +0000 |
---|---|---|
committer | eapache <eapache@f5534014-38df-0310-8fa8-9805f1628bb7> | 2012-07-19 22:09:44 +0000 |
commit | 36b40fb7962e3b54ce6acb1e13e60b7b04303775 (patch) | |
tree | 9cab32d53f3b29e39c745aa825f20a64337ca609 /cfile.c | |
parent | ded0abef19d7fff4ee5dcde913bd8043b1b076d3 (diff) |
Fix transposed memset parameters causing build failure with GCC.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43834 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'cfile.c')
-rw-r--r-- | cfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,6 +37,6 @@ void cap_file_init(capture_file *cf) { /* Initialize the capture file struct */ - memset(cf, sizeof(capture_file), 0); + memset(cf, 0, sizeof(capture_file)); cf->snap = WTAP_MAX_PACKET_SIZE; } |