Преглед изворни кода

Follow up to 7a1a76a

Thanks to @AthenaStudioz and @sader1992
Lemongrass3110 пре 7 година
родитељ
комит
88e48ed6ff
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/map/intif.cpp

+ 1 - 1
src/map/intif.cpp

@@ -452,7 +452,7 @@ int intif_saveregistry(struct map_session_data *sd)
 					p->value[len - 1] = '\0'; //this is backward for old char-serv but new one doesn't need this
 				}
 
-				WFIFOB(inter_fd, plen) = len; 
+				WFIFOB(inter_fd, plen) = (uint8)len; 
 				plen += 1;
 
 				safestrncpy(WFIFOCP(inter_fd,plen), p->value, len);