1
1
forked from 0ad/0ad

Fix some Premake warnings

This was SVN commit r7755.
This commit is contained in:
Ykkrosh 2010-07-14 13:53:26 +00:00
parent 12568b0229
commit bad3d04bc0
2 changed files with 2 additions and 2 deletions

View File

@ -240,7 +240,7 @@ const char* path_getname(const char* path)
path_translateInPlace(forpart, "posix");
ptr = strrchr(forpart, '/');
ptr = (ptr != NULL) ? ++ptr : forpart;
ptr = (ptr != NULL) ? ptr+1 : forpart;
return ptr;
}

View File

@ -173,7 +173,7 @@ static void tag_attr_open(const char* name)
io_print("=\"");
}
static tag_attr_close()
static void tag_attr_close()
{
io_print("\"");
attrib++;