summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/hires.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/hires.h b/winsup/cygwin/hires.h
index a28efcdd7..5c75cf65a 100644
--- a/winsup/cygwin/hires.h
+++ b/winsup/cygwin/hires.h
@@ -30,13 +30,13 @@ details. */
/* 100ns difference between Windows and UNIX timebase. */
#define FACTOR (0x19db1ded53e8000LL)
/* # of nanosecs per second. */
-#define NSPERSEC (1000000000)
+#define NSPERSEC (1000000000LL)
/* # of 100ns intervals per second. */
-#define NS100PERSEC (10000000)
+#define NS100PERSEC (10000000LL)
/* # of microsecs per second. */
-#define USPERSEC (1000000)
+#define USPERSEC (1000000LL)
/* # of millisecs per second. */
-#define MSPERSEC (1000)
+#define MSPERSEC (1000L)
class hires_base
{