diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-03-13 20:26:47 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-03-13 20:26:47 -0700 |
commit | b24eb4766ad12eceaafa2ee0d620e070e21a3293 (patch) | |
tree | d7efc84bce7cf75fa18792d02bceb15480690a2d /034call.cc | |
parent | 95b2a140094697dec176167154f9b3b31c2ef70f (diff) | |
download | mu-b24eb4766ad12eceaafa2ee0d620e070e21a3293.tar.gz |
2773 - switch to 'int'
This should eradicate the issue of 2771.
Diffstat (limited to '034call.cc')
-rw-r--r-- | 034call.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/034call.cc b/034call.cc index 111c88df..a878caad 100644 --- a/034call.cc +++ b/034call.cc @@ -35,7 +35,7 @@ def f [ // This requires maintaining a 'stack' of interrupted recipes or 'calls'. struct call { recipe_ordinal running_recipe; - long long int running_step_index; + int running_step_index; // End call Fields call(recipe_ordinal r) { running_recipe = r; @@ -74,8 +74,8 @@ inline call& current_call() { //:: now update routine's helpers -:(replace{} "inline long long int& current_step_index()") -inline long long int& current_step_index() { +:(replace{} "inline int& current_step_index()") +inline int& current_step_index() { assert(!Current_routine->calls.empty()); return current_call().running_step_index; } |