on master help sign in
Don't clash with the builtin index function
739fd20Neil Mitchell
cbits/hexml.c+2−2
@@ -85,9 +85,9 @@ static inline void render_char(render* r, char c)
85 r->cursor++;
85 r->cursor++;
86}
86}
87
87
88−static inline void bound(int index, int mn, int mx)
88+static inline void bound(int idx, int mn, int mx)
89{
89{
90− assert(index >= mn && index <= mx);
90+ assert(idx >= mn && idx <= mx);
91}
91}
92
92
93static inline void bound_str(str s, int mn, int mx)
93static inline void bound_str(str s, int mn, int mx)