瀏覽代碼

Merge trunk revision 2463:
r2463 | sdake | 2009-09-19 23:56:02 -0700 (Sat, 19 Sep 2009) | 2 lines

Remove warning in logsys compile related to const correctness.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2465 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 16 年之前
父節點
當前提交
e1ee830e29
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      exec/logsys.c

+ 1 - 1
exec/logsys.c

@@ -1303,7 +1303,7 @@ void _logsys_log_vprintf (
 	unsigned int len;
 	unsigned int level;
 	int subsysid;
-	char * short_file_name;
+	const char *short_file_name;
 
 	subsysid = LOGSYS_DECODE_SUBSYSID(rec_ident);
 	level = LOGSYS_DECODE_LEVEL(rec_ident);