fix bug introduced in previous commit (force literals to unsigned log long)
authorMario de Sousa <msousa@fe.up.pt>
Wed, 26 Dec 2018 11:56:14 +0000
changeset 1082 903e2782e405
parent 1081 d8ed548e2f9b
child 1083 fc23bca885f8
fix bug introduced in previous commit (force literals to unsigned log long)
stage4/generate_c/generate_c.cc
--- a/stage4/generate_c/generate_c.cc	Wed Dec 26 11:51:58 2018 +0000
+++ b/stage4/generate_c/generate_c.cc	Wed Dec 26 11:56:14 2018 +0000
@@ -544,7 +544,7 @@
 /***********************************************************************/
 /***********************************************************************/
 
-#define MILLISECOND 1000000
+#define MILLISECOND ((unsigned long long)1000000)
 #define SECOND 1000 * MILLISECOND
 
 #define ULL_MAX std::numeric_limits<unsigned long long>::max()