on master help sign in
Don't clash with the builtin index function
commit739fd20d0007f7c4e47e8d429f2af13fdc993cb1 authorNeil Mitchell <ndmitchell@gmail.com> dateWed 30 Nov 2016, 19:08 (10 years ago) parentf1f9b8b
1 file changed+2−2
cbits/hexml.c+2−2
cbits/hexml.c+2−2
@@ -85,9 +85,9 @@ static inline void render_char(render* r, char c)
8585 r->cursor++;
8686}
8787
88−static inline void bound(int index, int mn, int mx)
88+static inline void bound(int idx, int mn, int mx)
8989{
90− assert(index >= mn && index <= mx);
90+ assert(idx >= mn && idx <= mx);
9191}
9292
9393static inline void bound_str(str s, int mn, int mx)