(nbomb): Rev. 1.17 made a questionable initializer incorrect, and thus

broke pin-bombing for hosts where sizeof(i_type) != sizeof(int).  Fix.
This commit is contained in:
Markus Armbruster 2005-08-30 17:27:37 +00:00
parent b8bb2ffa3f
commit ff0d9dede6

View file

@ -79,7 +79,7 @@ static i_type bombcomm[] = {
I_UW, I_UW,
I_RAD I_RAD
}; };
static int nbomb = sizeof(bombcomm) / sizeof(int); static int nbomb = sizeof(bombcomm) / sizeof(*bombcomm);
int int
bomb(void) bomb(void)