From 4cb83571c45670eb8111801499281ea416b5074d Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 7 Mar 2006 21:30:36 +0000 Subject: Changed some structures to avoid gcc's type-punned warnings. --- Src/Modules/datetime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/Modules/datetime.c') diff --git a/Src/Modules/datetime.c b/Src/Modules/datetime.c index f01a54ea1..80090a65b 100644 --- a/Src/Modules/datetime.c +++ b/Src/Modules/datetime.c @@ -118,8 +118,8 @@ cleanup_(Module m) deletebuiltins(m->nam, bintab, sizeof(bintab)/sizeof(*bintab)); pm = (Param) paramtab->getnode(paramtab, "EPOCHSECONDS"); - if (pm && (pm->flags & PM_SPECIAL)) { - pm->flags &= ~PM_READONLY; + if (pm && (pm->node.flags & PM_SPECIAL)) { + pm->node.flags &= ~PM_READONLY; unsetparam_pm(pm, 0, 1); } return 0; -- cgit 1.4.1