fix type mismatches

This commit is contained in:
Dave Murphy 2023-05-02 13:55:39 +01:00
parent dca4fb772a
commit f73cecc31b
No known key found for this signature in database
GPG Key ID: F7FD5492264BB9D0
3 changed files with 3 additions and 3 deletions

View File

@ -1270,7 +1270,7 @@ Result btdrvUnregisterGattNotification(u32 connection_handle, bool primary_servi
* @param[in] size Output buffer size. * @param[in] size Output buffer size.
* @oaram[out] type Output BleEventType. * @oaram[out] type Output BleEventType.
*/ */
Result btdrvGetLeHidEventInfo(void* buffer, size_t size, u32 *type); Result btdrvGetLeHidEventInfo(void* buffer, size_t size, BtdrvBleEventType *type);
/** /**
* @brief RegisterBleHidEvent * @brief RegisterBleHidEvent

View File

@ -582,7 +582,7 @@ Result webConfigSetWebAudio(WebCommonConfig* config, bool flag) {
return _webConfigSetFlag(config, WebArgType_WebAudio, flag); return _webConfigSetFlag(config, WebArgType_WebAudio, flag);
} }
Result webConfigSetFooterFixedKind(WebCommonConfig* config, u32 kind) { Result webConfigSetFooterFixedKind(WebCommonConfig* config, WebFooterFixedKind kind) {
WebShimKind shim = _webGetShimKind(config); WebShimKind shim = _webGetShimKind(config);
if (shim != WebShimKind_Offline && shim != WebShimKind_Web) return MAKERESULT(Module_Libnx, LibnxError_NotInitialized); if (shim != WebShimKind_Offline && shim != WebShimKind_Web) return MAKERESULT(Module_Libnx, LibnxError_NotInitialized);
if (hosversionBefore(5,0,0)) return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer); if (hosversionBefore(5,0,0)) return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);

View File

@ -1722,7 +1722,7 @@ bool appletHolderCheckFinished(AppletHolder *h) {
return R_SUCCEEDED(eventWait(&h->StateChangedEvent, 0)); return R_SUCCEEDED(eventWait(&h->StateChangedEvent, 0));
} }
u32 appletHolderGetExitReason(AppletHolder *h) { LibAppletExitReason appletHolderGetExitReason(AppletHolder *h) {
return h->exitreason; return h->exitreason;
} }