~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2011-03-08 23:35:47 UTC
  • mfrom: (2224.2.9 statement2)
  • mto: This revision was merged to the branch mainline in revision 2227.
  • Revision ID: mordred@inaugust.com-20110308233547-w2s3tm5svzv339dp
Merged Olaf - Statement refactor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
#elif !defined OS_MAP_ANON
219
219
        ut_free(ptr);
220
220
#else
221
 
        if (munmap(ptr, size)) {
 
221
        if (munmap(static_cast<char *>(ptr), size)) {
222
222
                fprintf(stderr, "InnoDB: munmap(%p, %lu) failed;"
223
223
                        " errno %lu\n",
224
224
                        ptr, (ulong) size, (ulong) errno);