[Debian-hebrew-package] [svn] r314 - pkg/bidiv/trunk

Baruch Even baruch at costa.debian.org
Sat Jan 7 22:29:41 UTC 2006


Author: baruch
Date: Sat Jan  7 22:29:41 2006
New Revision: 314

Modified:
   pkg/bidiv/trunk/bidiv.c
Log:
Remove unsigned cast, upstream changed the type to signed

Modified: pkg/bidiv/trunk/bidiv.c
==============================================================================
--- pkg/bidiv/trunk/bidiv.c	(original)
+++ pkg/bidiv/trunk/bidiv.c	Sat Jan  7 22:29:41 2006
@@ -68,9 +68,9 @@
 	int newline=1, newpara=1;
 
 #ifndef TRY_UTF8
-	in=(unsigned char *)malloc(width+1);
+	in=(char *)malloc(width+1);
 #endif
-	out=(unsigned char *)malloc(width*7+1); /* 7 is the maximum number of
+	out=(char *)malloc(width*7+1); /* 7 is the maximum number of
 					  bytes in one UTF8 char? */
 	/* We use (width+1) not just width, to leave place for a double-
 	   width null character, which we might or might not need to write



More information about the Debian-hebrew-package mailing list