aboutsummaryrefslogtreecommitdiff
path: root/test/fuzzcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/fuzzcheck.c')
-rw-r--r--test/fuzzcheck.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/fuzzcheck.c b/test/fuzzcheck.c
index 09898d7b3..3868b5538 100644
--- a/test/fuzzcheck.c
+++ b/test/fuzzcheck.c
@@ -541,9 +541,12 @@ static void blobListLoadFromDb(
int n = 0;
int rc;
char *z2;
- unsigned char tmp[SZ_BLOB(8)];
+ union {
+ Blob sBlob;
+ unsigned char tmp[SZ_BLOB(8)];
+ } uBlob;
- head = (Blob*)tmp;
+ head = &uBlob.sBlob;
if( firstId>0 ){
z2 = sqlite3_mprintf("%s WHERE rowid BETWEEN %d AND %d", zSql,
firstId, lastId);