Changeset - r19210:e15739107602
[Not reviewed]
master
0 1 0
michi_cc - 12 years ago 2012-04-09 13:08:20
michi_cc@openttd.org
(svn r24109) -Fix (r24099): Warning from not using size_t to store the return value of strlen().
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/debug.cpp
Show inline comments
 
@@ -81,7 +81,7 @@ struct DebugLevel {
 
 */
 
char *DumpDebugFacilityNames(char *buf, char *last)
 
{
 
	int length = 0;
 
	size_t length = 0;
 
	for (const DebugLevel *i = debug_level; i != endof(debug_level); ++i) {
 
		if (length == 0) {
 
			buf = strecpy(buf, "List of debug facility names:\n", last);
0 comments (0 inline, 0 general)