diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2007-03-21 01:32:50 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2007-03-21 01:32:50 +0000 |
commit | 77ec324774760390a7ba9fc4e864ad0440a0ad2f (patch) | |
tree | 558e4c1d59be109228944934621baa1a98824e11 /wiretap/ascend-grammar.y | |
parent | 16f4a91dfc8a0558de579afa55aad1f3f3c19236 (diff) |
set compiler option "treat warnings as errors" - to prevent new warnings for wiretap
remove all compiler warnings:
a) prevent wrong malloc/free definitions by lex/yacc generated files
b) add int/time_t casts - MSVC2005 is more "sensitive" about this than MSVC6
svn path=/trunk/; revision=21078
Diffstat (limited to 'wiretap/ascend-grammar.y')
-rw-r--r-- | wiretap/ascend-grammar.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/ascend-grammar.y b/wiretap/ascend-grammar.y index 27c5c5c4dd..c842e24553 100644 --- a/wiretap/ascend-grammar.y +++ b/wiretap/ascend-grammar.y @@ -360,7 +360,7 @@ wdd_date: WDD_DATE decnum decnum decnum KEYWORD decnum decnum decnum KEYWORD str wddt.tm_year = ($4 > 1970) ? $4 - 1900 : 70; wddt.tm_isdst = -1; - start_time = mktime(&wddt); + start_time = (guint32) mktime(&wddt); } ; |