Skip to content

Commit

Permalink
Cast MS_YEAR as it needs to be
Browse files Browse the repository at this point in the history
  • Loading branch information
emberian committed Dec 2, 2012
1 parent bff50f3 commit 0aec64c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ms.c
Expand Up @@ -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,
Expand Down Expand Up @@ -237,4 +237,4 @@ main(){
return 0;
}

#endif
#endif

0 comments on commit 0aec64c

Please sign in to comment.