aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ascend-grammar.y
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-03-21 01:32:50 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-03-21 01:32:50 +0000
commit77ec324774760390a7ba9fc4e864ad0440a0ad2f (patch)
tree558e4c1d59be109228944934621baa1a98824e11 /wiretap/ascend-grammar.y
parent16f4a91dfc8a0558de579afa55aad1f3f3c19236 (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.y2
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);
}
;