summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorJonathan Perkin <jperkin@sun.com>2009-03-31 16:04:02 +0200
committerJonathan Perkin <jperkin@sun.com>2009-03-31 16:04:02 +0200
commit20f76540a18bff01350edb5878ab5015bd194055 (patch)
tree4451dd3c356fe7aa28121778f8e3001b0a1b22f3 /mysys
parent7092e7a6592009b56e7c4ba8505d5e9da12d2eaa (diff)
downloadmariadb-git-20f76540a18bff01350edb5878ab5015bd194055.tar.gz
Apply 64-bit fix from Azundris.
Diffstat (limited to 'mysys')
-rw-r--r--mysys/safemalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/safemalloc.c b/mysys/safemalloc.c
index 36d07b475e9..c484f1d4c54 100644
--- a/mysys/safemalloc.c
+++ b/mysys/safemalloc.c
@@ -174,7 +174,7 @@ void *_mymalloc(size_t size, const char *filename, uint lineno, myf MyFlags)
data[size + 3]= MAGICEND3;
irem->filename= (char *) filename;
irem->linenum= lineno;
- irem->datasize= (uint32) size;
+ irem->datasize= size;
irem->prev= NULL;
/* Add this remember structure to the linked list */