Browse Source

- fix args (untested)

Bernhard Reutner-Fischer 15 years ago
parent
commit
97807b8291
1 changed files with 2 additions and 2 deletions
  1. 2 2
      extra/locale/gen_wc8bit.c

+ 2 - 2
extra/locale/gen_wc8bit.c

@@ -219,8 +219,8 @@ int main(int argc, char **argv)
 			fprintf(out, "\t{ /* %.*s */", n, s0);
 		}
 
-		memset(&csd[numsets],sizeof(charset_data),0);
-		memset(xi, sizeof(xi), 0);
+		memset(&csd[numsets], 0, sizeof(charset_data));
+		memset(xi, 0, sizeof(xi));
 		{
 			unsigned long c, wc;
 			int lines;