X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhbuildsbr.c;h=4a2c70c7906e10efe20ee2455b78f93caf7b20b6;hb=ad3fe946829f332d241a789c4e7758d6f7aba003;hp=93f16478710f6c3426160278d9616607dbce9055;hpb=c43afcbaf482a3e7227ca839633c0f7488944895;p=mmh diff --git a/uip/mhbuildsbr.c b/uip/mhbuildsbr.c index 93f1647..4a2c70c 100644 --- a/uip/mhbuildsbr.c +++ b/uip/mhbuildsbr.c @@ -97,7 +97,7 @@ static int do_direct(void) static void directive_onoff(int onoff) { - if (directives_index >= sizeof(directives_stack)) { + if (directives_index >= sizeof(directives_stack) - 1) { fprintf(stderr, "mhbuild: #on/off overflow, continuing\n"); return; }