* BUG: Really fix MacOSX compatibility.

git-svn-id: svn://localhost/gambas/trunk@6199 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Adrien Prokopowicz 2014-03-11 10:26:18 +00:00
parent 92fb1ad2c5
commit 9104dacdb8

View file

@ -28,9 +28,9 @@
#include <memory.h>
#ifdef OS_MACOSX
void *memrchr(void *s, int c, size_t n)
void *memrchr(const char *s, int c, size_t n)
{
void *start=s,*end=(s+n-1);
const char *start=s,*end=(s+n-1);
while(end>=start)
{