Ver Fonte

Added a missing const qualifier to a variable. (bugreport:4472)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14419 54d463be-8e91-2dee-dedb-b68131a5f0ec
Paradox924X há 14 anos atrás
pai
commit
120bf1dfec
2 ficheiros alterados com 2 adições e 1 exclusões
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/clif.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2010/10/10
+	* Added a missing const qualifier to a variable. (bugreport:4472) [Paradox924X]
 	* Rev. 14418 Follow up from r14413, should take care of the errors from bugreport:4472. [L0ne_W0lf]
 	* Pull `name` from character table instead of using `master` from guild table when loading guild data. [Paradox924X]
 	* Use `char_id` rather than `master` when checking if a guild needs to be deleted during character deletion. [Paradox924X]

+ 1 - 1
src/map/clif.c

@@ -7377,7 +7377,7 @@ void clif_wedding_effect(struct block_list *bl)
 void clif_callpartner(struct map_session_data *sd)
 {
 	unsigned char buf[26];
-	char *p;
+	const char *p;
 
 	nullpo_retv(sd);