openbsd-ports/databases/sqlite3/patches/patch-src_test1_c
martynas 8e453aeab5 update to sqlite-3.6.12. full bulk build done by jasper@
"go ahead" sthen@, ok fgs@, jasper@, simon@
2009-04-16 20:09:58 +00:00

17 lines
562 B
Plaintext

$OpenBSD: patch-src_test1_c,v 1.3 2009/04/16 20:09:58 martynas Exp $
Fix test on big endian arches. Bug filed upstream at
http://www.sqlite.org/cvstrac/tktview?tn=3621
--- src/test1.c.orig Mon Mar 30 19:37:16 2009
+++ src/test1.c Sun Apr 5 11:14:53 2009
@@ -1201,7 +1201,7 @@ static int sqlite3_mprintf_int(
int argc, /* Number of arguments */
char **argv /* Text of each argument */
){
- int a[3], i;
+ unsigned int a[3], i;
char *z;
if( argc!=5 ){
Tcl_AppendResult(interp, "wrong # args: should be \"", argv[0],