about summary refs log tree commit diff stats
path: root/cpp/010vm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/010vm.cc')
-rw-r--r--cpp/010vm.cc4
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;
^
6708862 ^
5b91af1 ^
4f76ea3 ^
c875f7b ^

4f76ea3 ^

5b91af1 ^
79a1241 ^
5b91af1 ^
79a1241 ^
5b91af1 ^
6708862 ^

5b91af1 ^


6708862 ^
5b91af1 ^
6708862 ^
4f76ea3 ^

6708862 ^


4f76ea3 ^
5b91af1 ^
6708862 ^






4ce716f ^

6708862 ^







4f76ea3 ^

















29dac6a ^










6708862 ^











4f76ea3 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124