From 5746d0e98d8a5c4af96102835d501c47ed370def Mon Sep 17 00:00:00 2001 From: KingPin Date: Thu, 6 Nov 2008 08:20:26 -0600 Subject: [svn] * Avoid access to bag item prototype for getting bag size, use related item update field instead as more fast source. source mangos. * Further reduce of DB access in guild handlers. * Multi-locale DBC extracting - source Foks *** Devs not responsible if all your player items drop to the ground and get eaten by ants or rabbits.. or some kind of wierd ant-rabbits.. --HG-- branch : trunk --- contrib/extractor/libmpq/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/extractor/libmpq/parser.cpp') diff --git a/contrib/extractor/libmpq/parser.cpp b/contrib/extractor/libmpq/parser.cpp index b7a70400f5a..435395b8767 100644 --- a/contrib/extractor/libmpq/parser.cpp +++ b/contrib/extractor/libmpq/parser.cpp @@ -79,7 +79,7 @@ int libmpq_conf_parse_line(char *line, char *search_value, char *return_value, i } /* now search for comment in this line */ - for (i = 0; i < strlen(line); i++) { + for (i = 0; i < int(strlen(line)); i++) { if (line[i] == '#') { pos = i - 1; break; -- cgit v1.2.3