diff options
author | drh <drh@noemail.net> | 2006-02-01 14:39:53 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2006-02-01 14:39:53 +0000 |
commit | 144f20cbc8b51f5da7f6ab8b026560d334d44064 (patch) | |
tree | a5eb15ffa1432eef15a7613ba8346f63f4fd0d6b /src/os_common.h | |
parent | 0e819f903274b810ef5e1267d00ad3fe846f213b (diff) | |
download | sqlite-144f20cbc8b51f5da7f6ab8b026560d334d44064.tar.gz sqlite-144f20cbc8b51f5da7f6ab8b026560d334d44064.zip |
Typecast to silence (incorrect) compiler warning. (CVS 3054)
FossilOrigin-Name: 3a04fc45ccc31f2009be812a9c9057844cf4ae3b
Diffstat (limited to 'src/os_common.h')
-rw-r--r-- | src/os_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_common.h b/src/os_common.h index b83a02b7c..d65c352dd 100644 --- a/src/os_common.h +++ b/src/os_common.h @@ -155,7 +155,7 @@ void *sqlite3GenericMalloc(int n){ void *sqlite3GenericRealloc(void *p, int n){ char *p2 = ((char *)p - 8); assert(n>0); - p2 = realloc(p2, n+8); + p2 = (char*)realloc(p2, n+8); if( p2 ){ *(int *)p2 = n; p2 += 8; |