Skip to content

Commit 1026b34

Browse files
committed
Sync sqlcipher library.
1 parent b6457d5 commit 1026b34

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

android/sqlcipher/sqlite3.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -18947,12 +18947,12 @@ void* sqlcipher_memset(void *v, unsigned char value, int len) {
1894718947
int len2 = len % sizeof(unsigned long);
1894818948
len = len / sizeof(unsigned long);
1894918949

18950-
unsigned long *aa = (unsigned long *) v;
18950+
volatile unsigned long *aa = (unsigned long *) v;
1895118951
for (i = 0; i < len; i++) {
1895218952
*aa++ = val;
1895318953
}
18954-
unsigned char *a = (unsigned char *) aa;
18955-
for (i = 0; i < len; i++) {
18954+
volatile unsigned char *a = (unsigned char *) aa;
18955+
for (i = 0; i < len2; i++) {
1895618956
*a++ = value;
1895718957
}
1895818958

@@ -33567,7 +33567,7 @@ SQLITE_PRIVATE const char *sqlite3OpcodeName(int i){
3356733567
&& (!defined(TARGET_IPHONE_SIMULATOR) || (TARGET_IPHONE_SIMULATOR==0))
3356833568
# define HAVE_GETHOSTUUID 1
3356933569
# else
33570-
# warning "gethostuuid() is disabled."
33570+
//# warning "gethostuuid() is disabled."
3357133571
# endif
3357233572
#endif
3357333573

sqlcipher

0 commit comments

Comments
 (0)