changeset 24227:cc567f93fb3b

Fix wrong calculation of nbooleans that causes a crash on 64 bit systems
author reimar
date Mon, 27 Aug 2007 17:53:35 +0000
parents 352d7d9422b5
children b5406f2f5044
files libvo/vo_aa.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;