about summary refs log tree commit diff stats
path: root/012transform.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-03-13 20:26:47 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-03-13 20:26:47 -0700
commitb24eb4766ad12eceaafa2ee0d620e070e21a3293 (patch)
treed7efc84bce7cf75fa18792d02bceb15480690a2d /012transform.cc
parent95b2a140094697dec176167154f9b3b31c2ef70f (diff)
downloadmu-b24eb4766ad12eceaafa2ee0d620e070e21a3293.tar.gz
2773 - switch to 'int'
This should eradicate the issue of 2771.
Diffstat (limited to '012transform.cc')
-rw-r--r--012transform.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/012transform.cc b/012transform.cc
index f1243648..fd3b25ff 100644
--- a/012transform.cc
+++ b/012transform.cc
@@ -14,7 +14,7 @@
 //:   relative to those in previous layers to find a better arrangement.
 
 :(before "End recipe Fields")
-long long int transformed_until;
+int transformed_until;
 :(before "End recipe Constructor")
 transformed_until = -1;
 
@@ -39,7 +39,7 @@ vector<transform_fn> Transform;
 :(code)
 void transform_all() {
   trace(9990, "transform") << "=== transform_all()" << end();
-  for (long long int t = 0; t < SIZE(Transform); ++t) {
+  for (int t = 0; t < SIZE(Transform); ++t) {
 //?     cerr << "transform " << t << '\n';
     for (map<recipe_ordinal, recipe>::iterator p = Recipe.begin(); p != Recipe.end(); ++p) {
       recipe& r = p->second;
@@ -61,12 +61,12 @@ void parse_int_reagents() {
   for (map<recipe_ordinal, recipe>::iterator p = Recipe.begin(); p != Recipe.end(); ++p) {
     recipe& r = p->second;
     if (r.steps.empty()) continue;
-    for (long long int index = 0; index < SIZE(r.steps); ++index) {
+    for (int index = 0; index < SIZE(r.steps); ++index) {
       instruction& inst = r.steps.at(index);
-      for (long long int i = 0; i < SIZE(inst.ingredients); ++i) {
+      for (int i = 0; i < SIZE(inst.ingredients); ++i) {
         populate_value(inst.ingredients.at(i));
       }
-      for (long long int i = 0; i < SIZE(inst.products); ++i) {
+      for (int i = 0; i < SIZE(inst.products); ++i) {
         populate_value(inst.products.at(i));
       }
     }