]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datetime.cpp
Update to zlib 1.2.3
[wxWidgets.git] / src / common / datetime.cpp
index f0d29667fff5c0f9c4b2039eb42e0ededdcbe237..d3e20b66d5d8b48058973cb4d1b73aac07b34208 100644 (file)
@@ -2844,14 +2844,14 @@ const wxChar *wxDateTime::ParseRfc822Date(const wxChar* date)
 
             p += tz.length();
         }
-
+        
         // make it minutes
         offset *= MIN_PER_HOUR;
     }
 
     // the spec was correct, construct the date from the values we found
     Set(day, mon, year, hour, min, sec);
-    MakeFromTimezone(TimeZone((wxDateTime_t)offset*SEC_PER_MIN));
+    MakeFromTimezone(TimeZone((wxDateTime_t)(offset*SEC_PER_MIN)));
 
     return p;
 }