From 27abf1bcb19ef14ec08dc7916cd383e3f045c88b Mon Sep 17 00:00:00 2001 From: gepard1984 Date: Tue, 14 Feb 2012 15:29:00 +0000 Subject: Removed deprecated memory manager macros (follow-up to r14916). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15581 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/char.c | 2 +- src/char/inter.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/char') diff --git a/src/char/char.c b/src/char/char.c index c2490efed..a569f5ca1 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -742,7 +742,7 @@ int memitemdata_to_sql(const struct item items[], int max, int id, int tableswit SqlStmt_BindColumn(stmt, 8+j, SQLDT_SHORT, &item.card[j], 0, NULL, NULL); // bit array indicating which inventory items have already been matched - flag = (bool*) aCallocA(max, sizeof(bool)); + flag = (bool*) aCalloc(max, sizeof(bool)); while( SQL_SUCCESS == SqlStmt_NextRow(stmt) ) { diff --git a/src/char/inter.c b/src/char/inter.c index 2137579be..75f6533fe 100644 --- a/src/char/inter.c +++ b/src/char/inter.c @@ -326,7 +326,7 @@ int inter_mapif_init(int fd) // broadcast sending int mapif_broadcast(unsigned char *mes, int len, unsigned long fontColor, short fontType, short fontSize, short fontAlign, short fontY, int sfd) { - unsigned char *buf = (unsigned char*)aMallocA((len)*sizeof(unsigned char)); + unsigned char *buf = (unsigned char*)aMalloc((len)*sizeof(unsigned char)); WBUFW(buf,0) = 0x3800; WBUFW(buf,2) = len; -- cgit v1.2.3-70-g09d2