# HG changeset patch # User reimar # Date 1188237215 0 # Node ID cc567f93fb3b9f192fa8bc2c621ec9c9c48b22b3 # Parent 352d7d9422b58e82f52f8fa829be0f9fc5074c6d Fix wrong calculation of nbooleans that causes a crash on 64 bit systems diff -r 352d7d9422b5 -r cc567f93fb3b libvo/vo_aa.c --- a/libvo/vo_aa.c Mon Aug 27 15:51:04 2007 +0000 +++ b/libvo/vo_aa.c Mon Aug 27 17:53:35 2007 +0000 @@ -584,7 +584,7 @@ "-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;