include: Upstream update for GTKWave

This commit is contained in:
Wilson Snyder 2018-10-12 06:55:12 -04:00
parent b59c23d346
commit fe0dae74c1
1 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ static char *fstRealpath(const char *path, char *resolved_path)
#if (defined(__MACH__) && defined(__APPLE__)) #if (defined(__MACH__) && defined(__APPLE__))
if(!resolved_path) if(!resolved_path)
{ {
resolved_path = (unsigned char *)malloc(PATH_MAX+1); /* fixes bug on Leopard when resolved_path == NULL */ resolved_path = (char *)malloc(PATH_MAX+1); /* fixes bug on Leopard when resolved_path == NULL */
} }
#endif #endif