(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:
parent
b8bb2ffa3f
commit
ff0d9dede6
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue