~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/os/os0proc.c

modified transaction docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (C) 1995, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1995, 2009, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
218
218
#elif !defined OS_MAP_ANON
219
219
        ut_free(ptr);
220
220
#else
221
 
        if (munmap(static_cast<char *>(ptr), size)) {
 
221
        if (munmap(ptr, size)) {
222
222
                fprintf(stderr, "InnoDB: munmap(%p, %lu) failed;"
223
223
                        " errno %lu\n",
224
224
                        ptr, (ulong) size, (ulong) errno);