diff --git a/src/xpdev/datewrap.c b/src/xpdev/datewrap.c index 4dcdc983fffb8bf08190f1fc0966cbd62d507cd0..2cd9c0336ef40924577a3f85079903506cdf4d01 100644 --- a/src/xpdev/datewrap.c +++ b/src/xpdev/datewrap.c @@ -8,7 +8,7 @@ * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2008 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright 2011 Rob Swindell - http://www.synchro.net/copyright.html * * * * This library is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General Public License * @@ -78,11 +78,7 @@ time32_t DLLCALL time32(time32_t* tp) time32_t DLLCALL mktime32(struct tm* tm) { - time_t t; - - t=sane_mktime(tm); - - return (time32_t)t; + return (time32_t)sane_mktime(tm); } #if !defined(__BORLANDC__)