Differences From
Artifact [c8562e1cb9]:
25 25 null = 0, false = 0, true = 1
26 26 };
27 27 typedef _Bool bool;
28 28 #else
29 29 # define null nullptr
30 30 #endif
31 31 #define try(x) {bad _E_ = (x); if(_E_ != ok) return _E_;}
32 -#define zero(x) memset(&(x), sizeof(x), 0)
32 +#define zero(x) memset(&(x), 0, sizeof(x))
33 33
34 34 #define mkup_error_list \
35 35 e(usage,"usage was displayed to user") \
36 36 e(insane,"your system is not in a sane state") \
37 37 e(file,"file specified could not be mapped") \
38 38 e(empty,"nothing to do; bailing")
39 39