diff options
Diffstat (limited to 'cpp/010vm.cc')
-rw-r--r-- | cpp/010vm.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/010vm.cc b/cpp/010vm.cc index 2d1ce2ba..d70305b7 100644 --- a/cpp/010vm.cc +++ b/cpp/010vm.cc @@ -1,6 +1,6 @@ :(after "Types") // A program is a book of 'recipes' (functions) -typedef int recipe_number; +typedef size_t recipe_number; :(before "End Globals") map<string, recipe_number> Recipe_number; map<recipe_number, recipe> Recipe; @@ -70,7 +70,7 @@ Memory.clear(); // Unlike most computers today, mu stores types in a single big table, shared // by all the mu programs on the computer. This is useful in providing a // seamless experience to help understand arbitrary mu programs. -typedef int type_number; +typedef size_t type_number; :(before "End Globals") map<string, type_number> Type_number; map<type_number, type_info> Type; |