comparison src/c/urweb.c @ 1474:3d0cc841cafd

Fixes to work nicely with OS X and Clang (thanks to Austin Seipp)
author Adam Chlipala <adam@chlipala.net>
date Fri, 17 Jun 2011 11:52:56 -0400
parents 67ebd30a2283
children ebc30bb262d0
comparison
equal deleted inserted replaced
1473:d40066b38710 1474:3d0cc841cafd
827 } 827 }
828 828
829 r = &ctx->subinputs[ctx->used_subinputs]; 829 r = &ctx->subinputs[ctx->used_subinputs];
830 830
831 for (i = 0; i < len; ++i) 831 for (i = 0; i < len; ++i)
832 ctx->subinputs[ctx->used_subinputs++].kind = UNUSED; 832 ctx->subinputs[ctx->used_subinputs++].kind = UNSET;
833 833
834 return r; 834 return r;
835 } 835 }
836 836
837 int uw_set_input(uw_context ctx, const char *name, char *value) { 837 int uw_set_input(uw_context ctx, const char *name, char *value) {