mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Add a type identifier to argument sz to sqlite3PageMalloc() in pcache.c. Ticket #3383. (CVS 5713)
FossilOrigin-Name: 94fde77b9a4efde5f7fb2a84fedaf38b0ebbac70
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*************************************************************************
|
||||
** This file implements that page cache.
|
||||
**
|
||||
** @(#) $Id: pcache.c,v 1.27 2008/09/15 15:36:58 drh Exp $
|
||||
** @(#) $Id: pcache.c,v 1.28 2008/09/17 11:02:57 danielk1977 Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
|
||||
@@ -434,7 +434,7 @@ void *pcacheMalloc(int sz, PCache *pCache){
|
||||
return p;
|
||||
}
|
||||
}
|
||||
void *sqlite3PageMalloc(sz){
|
||||
void *sqlite3PageMalloc(int sz){
|
||||
void *p;
|
||||
pcacheEnterMutex();
|
||||
p = pcacheMalloc(sz, 0);
|
||||
|
||||
Reference in New Issue
Block a user