Fix wrong calculation of nbooleans that causes a crash on 64 bit systems

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24247 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-08-27 17:53:35 +00:00
parent 949880a056
commit 3bcc77bea7
1 changed files with 1 additions and 1 deletions

View File

@ -584,7 +584,7 @@ static int parse_suboptions(const char *arg) {
"-noboldfont", "-noinverse", "-noextended", "-noeight", "-nodither",
"-nofloyd_steinberg", "-noerror_distribution"};
const int nstrings = sizeof(strings_list) / sizeof(char*);
const int nbooleans = sizeof(booleans_list) / sizeof(int);
const int nbooleans = sizeof(booleans_list) / sizeof(char*);
const int nextra_opts = sizeof(extra_opts) / sizeof(opt_t);
const int nsubopts = nstrings + nbooleans + nextra_opts;
int i, retval = 0;