Permalink
Browse files

Cast MS_YEAR as it needs to be

  • Loading branch information...
1 parent bff50f3 commit 0aec64cf90b3002cf5e48dbc52b3dd4b3023350b @cmr cmr committed Dec 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 ms.c
View
4 ms.c
@@ -26,7 +26,7 @@
#define MS_HOUR 60 * MS_MIN
#define MS_DAY 24 * MS_HOUR
#define MS_WEEK 7 * MS_DAY
-#define MS_YEAR 52 * MS_WEEK
+#define MS_YEAR 52 * (long long)MS_WEEK
/*
* Convert the given `str` representation to microseconds,
@@ -237,4 +237,4 @@ main(){
return 0;
}
-#endif
+#endif

0 comments on commit 0aec64c

Please sign in to comment.