aboutsummaryrefslogtreecommitdiff
path: root/src/test6.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-10-15 14:29:32 +0000
committerdrh <drh@noemail.net>2013-10-15 14:29:32 +0000
commita703f50d7e8b237e69d32f88cea80aa65e43c48e (patch)
tree07a17bb39209c743cb7724e76acd46db816865e3 /src/test6.c
parenta2617433a9482bca122cd97caf364256d54f491b (diff)
downloadsqlite-a703f50d7e8b237e69d32f88cea80aa65e43c48e.tar.gz
sqlite-a703f50d7e8b237e69d32f88cea80aa65e43c48e.zip
Fix an 8-byte alignment problem on the "crash test" harness (test code,
not in the core) that causes problems on Sparc. FossilOrigin-Name: bcbc65030fa7c61f94100142e94ba2a5774f85b0
Diffstat (limited to 'src/test6.c')
-rw-r--r--src/test6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test6.c b/src/test6.c
index c151ea429..2020885c4 100644
--- a/src/test6.c
+++ b/src/test6.c
@@ -133,9 +133,9 @@ struct CrashFile {
** OsFileSize() calls. Although both could be done by traversing the
** write-list, in practice this is impractically slow.
*/
- int iSize; /* Size of file in bytes */
- int nData; /* Size of buffer allocated at zData */
u8 *zData; /* Buffer containing file contents */
+ int nData; /* Size of buffer allocated at zData */
+ i64 iSize; /* Size of file in bytes */
};
struct CrashGlobal {