Standardize process ID type to be uint

This commit is contained in:
LagoLunatic
2024-03-11 19:03:47 -04:00
parent d0e8844b4b
commit 0dd3f6e47c
69 changed files with 178 additions and 176 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ typedef int (*FastCreateReqFunc)(void*);
typedef void (*fpcM_ManagementFunc)(void);
typedef int (*fpcM_DrawIteraterFunc)(void*, void*);
inline u32 fpcM_GetID(void* pProc) {
inline uint fpcM_GetID(void* pProc) {
return pProc != NULL ? ((base_process_class*)pProc)->mBsPcId : fpcM_ERROR_PROCESS_ID_e;
}
inline s16 fpcM_GetName(void* pActor) {
@@ -33,7 +33,7 @@ inline s16 fpcM_GetProfName(void* pActor) {
return ((base_process_class*)pActor)->mProfName;
}
inline int fpcM_Create(s16 procName, FastCreateReqFunc createFunc, void* process) {
inline uint fpcM_Create(s16 procName, FastCreateReqFunc createFunc, void* process) {
return fpcSCtRq_Request(fpcLy_CurrentLayer(), procName, (stdCreateFunc)createFunc, NULL,
process);
}