projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
076bb89
)
Type constants to prevent overflow
author
NHOrus
<jy6x2b32pie9@yahoo.com>
Tue, 12 Sep 2017 05:18:17 +0000
(08:18 +0300)
committer
NHOrus
<jy6x2b32pie9@yahoo.com>
Tue, 12 Sep 2017 05:18:17 +0000
(08:18 +0300)
advent.h
patch
|
blob
|
history
diff --git
a/advent.h
b/advent.h
index 27250b7dd0f198bd550cabcf2ab1148b571f2624..e43459bb79b888e03b8bdc0d504a8f589e191da7 100644
(file)
--- a/
advent.h
+++ b/
advent.h
@@
-8,9
+8,9
@@
/* LCG PRNG parameters tested against
* Knuth vol. 2. by the original authors */
-#define LCG_A 1093
-#define LCG_C 221587
-#define LCG_M 1048576
+#define LCG_A 1093
L
+#define LCG_C 221587
L
+#define LCG_M 1048576
L
#define LINESIZE 1024
#define TOKLEN 5 // № sigificant characters in a token */