about summary refs log tree commit diff stats
path: root/011load.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 /011load.cc
parent95b2a140094697dec176167154f9b3b31c2ef70f (diff)
downloadmu-b24eb4766ad12eceaafa2ee0d620e070e21a3293.tar.gz
2773 - switch to 'int'
This should eradicate the issue of 2771.
Diffstat (limited to '011load.cc')
-rw-r--r--011load.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/011load.cc b/011load.cc
index 35d08881..ee8df684 100644
--- a/011load.cc
+++ b/011load.cc
@@ -40,7 +40,7 @@ vector<recipe_ordinal> load(istream& in) {
   return result;
 }
 
-long long int slurp_recipe(istream& in) {
+int slurp_recipe(istream& in) {
   recipe result;
   result.name = next_word(in);
   // End Load Recipe Name
@@ -231,12 +231,12 @@ void show_rest_of_stream(istream& in) {
 //: Have tests clean up any recipes they added.
 :(before "End Globals")
 vector<recipe_ordinal> Recently_added_recipes;
-long long int Reserved_for_tests = 1000;
+int Reserved_for_tests = 1000;
 :(before "End Setup")
 clear_recently_added_recipes();
 :(code)
 void clear_recently_added_recipes() {
-  for (long long int i = 0; i < SIZE(Recently_added_recipes); ++i) {
+  for (int i = 0; i < SIZE(Recently_added_recipes); ++i) {
     if (Recently_added_recipes.at(i) >= Reserved_for_tests  // don't renumber existing recipes, like 'interactive'
         && contains_key(Recipe, Recently_added_recipes.at(i)))  // in case previous test had duplicate definitions
       Recipe_ordinal.erase(get(Recipe, Recently_added_recipes.at(i)).name);