Permalink
Browse files

return proper NULLs instead of 0 for pointers

  • Loading branch information...
petdance committed Mar 31, 2012
1 parent 79e21c8 commit 65e944b5f5782bb4c31f4926406cccfc1624fb94
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/platform/generic/dl.c
@@ -117,7 +117,7 @@ Parrot_dlopen(const char *filename, Parrot_dlopen_flags flags)
push_handle_entry(h);
return h;
#else
- return 0;
+ return NULL;
#endif
}
@@ -139,7 +139,7 @@ Parrot_dlerror(void)
#ifdef PARROT_HAS_HEADER_DLFCN
return dlerror();
#else
- return 0;
+ return NULL;
#endif
}

0 comments on commit 65e944b

Please sign in to comment.