瀏覽代碼

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

Daniel-Constantin Mierla 9 年之前
父節點
當前提交
ad2f899c1a
共有 1 個文件被更改,包括 2 次插入2 次删除
  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)