Minor stuff (2), update readme
This commit is contained in:
@@ -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)];
|
||||
|
||||
Reference in New Issue
Block a user