Browse Source

- warning fix

Andrei Pelinescu-Onciul 20 năm trước cách đây
mục cha
commit
2a1678b497
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      mem/shm_mem.h

+ 1 - 1
mem/shm_mem.h

@@ -142,7 +142,7 @@ inline static void* _shm_malloc(unsigned int size,
 
 
 inline static void* _shm_realloc(void *ptr, unsigned int size, 
-		char* file, char* function, int line )
+		const char* file, const char* function, int line )
 {
 	void *p;
 	shm_lock();