8e453aeab5
"go ahead" sthen@, ok fgs@, jasper@, simon@
17 lines
562 B
Plaintext
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],
|