Explorar o código

core: declare function parameter type to get rid of compile warning

Daniel-Constantin Mierla %!s(int64=9) %!d(string=hai) anos
pai
achega
ad2f899c1a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      main.c

+ 2 - 2
main.c

@@ -509,10 +509,10 @@ char *sr_memmng_pkg = NULL;
 char *sr_memmng_shm = NULL;
 
 /* call it before exiting; if show_status==1, mem status is displayed */
-void cleanup(show_status)
+void cleanup(int show_status)
 {
 	int memlog;
-	
+
 	/*clean-up*/
 #ifndef SHM_SAFE_MALLOC
 	if (_shm_lock)