Minor stuff (2), update readme

This commit is contained in:
Aurora
2016-09-23 13:58:59 +02:00
parent 100c3d9e36
commit 11d29368ce
5 changed files with 25 additions and 53 deletions

View File

@@ -11,7 +11,7 @@ size_t strnlen(const char *string, size_t maxlen)
void progIdToStr(char *strEnd, u64 progId)
{
while(progId)
while(progId > 0)
{
static const char hexDigits[] = "0123456789ABCDEF";
*strEnd-- = hexDigits[(u32)(progId & 0xF)];