openbsd-ports/databases/sqlite3/patches/patch-src_test1_c
simon 71a7a32ef7 update to version 3.6.10 which comes with quite a few fixes, remove fix
for solved libtool issue and add fix for tests on big-endian arches

looks good to espie@
requested, bulk-tested and ok by bernd@
2009-01-31 15:49:34 +00:00

17 lines
559 B
Plaintext

$OpenBSD: patch-src_test1_c,v 1.1 2009/01/31 15:49:34 simon Exp $
Fix test on big endian arches. Bug filed upstream at
http://www.sqlite.org/cvstrac/tktview?tn=3621
--- src/test1.c.orig Sat Jan 31 16:07:27 2009
+++ src/test1.c Sat Jan 31 16:18:33 2009
@@ -1199,7 +1199,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],