Fix compilation error on Solaris: mmap/munmap take/return a char*, not void*.
commitb9fdc5636c166e26195d783378ff4da43b755bc5
authorThiago Macieira <thiago.macieira@nokia.com>
Sun, 19 Jul 2009 13:14:06 +0000 (19 15:14 +0200)
committerKent Hansen <khansen@trolltech.com>
Fri, 4 Sep 2009 10:41:00 +0000 (4 12:41 +0200)
tree68d7467d8310eca01e75f8707ca9ca3a43e09f6a
parent6f1ff47beeee6a6af489df58813ebd87237c93b0
Fix compilation error on Solaris: mmap/munmap take/return a char*, not void*.

"../JavaScriptCore/interpreter/RegisterFile.h", line 128: Error: Using static_cast to convert from char* to JSC::Register* not allowed.

Error: Formal argument 1 of type char* in call to munmap(char*, unsigned) is being passed JSC::Register*.
src/3rdparty/webkit/JavaScriptCore/interpreter/RegisterFile.cpp
src/3rdparty/webkit/JavaScriptCore/interpreter/RegisterFile.h