mirror of
https://github.com/wiiu-env/RPXLoadingModule.git
synced 2024-11-29 05:14:14 +01:00
Fix type of parameter
This commit is contained in:
parent
b00a566726
commit
91b7686e2e
@ -73,11 +73,11 @@ int getNewFileHandleIndex() {
|
|||||||
return handle_id;
|
return handle_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isValidDirHandle(int32_t handle) {
|
bool isValidDirHandle(uint32_t handle) {
|
||||||
return (handle & HANDLE_INDICATOR_MASK) == DIR_HANDLE_MAGIC;
|
return (handle & HANDLE_INDICATOR_MASK) == DIR_HANDLE_MAGIC;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isValidFileHandle(int32_t handle) {
|
bool isValidFileHandle(uint32_t handle) {
|
||||||
return (handle & HANDLE_INDICATOR_MASK) == FILE_HANDLE_MAGIC;
|
return (handle & HANDLE_INDICATOR_MASK) == FILE_HANDLE_MAGIC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user