summaryrefslogtreecommitdiff
path: root/modules/gdnative
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-11 10:07:28 +0100
committerGitHub <noreply@github.com>2020-11-11 10:07:28 +0100
commit10fd10759978f01e9152278e905f32c1117d2841 (patch)
tree0fea30ec74363a4c1eb2b69105caf29bb695b130 /modules/gdnative
parent88d463cabcfe2bf2b0f14e4ad34cb2741b8da686 (diff)
parent179ec3ca0ef909592eece8c907ec0cd855ef5b04 (diff)
Merge pull request #43443 from Faless/js/4.0_audio_worklet
[HTML5] Port inline JS code to libraries, AudioWorklet support.
Diffstat (limited to 'modules/gdnative')
-rw-r--r--modules/gdnative/net/webrtc_gdnative.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/net/webrtc_gdnative.cpp b/modules/gdnative/net/webrtc_gdnative.cpp
index a7355e4d12..d8c3ddc5f8 100644
--- a/modules/gdnative/net/webrtc_gdnative.cpp
+++ b/modules/gdnative/net/webrtc_gdnative.cpp
@@ -54,7 +54,7 @@ godot_error GDAPI godot_net_set_webrtc_library(const godot_net_webrtc_library *p
#ifdef WEBRTC_GDNATIVE_ENABLED
return (godot_error)WebRTCPeerConnectionGDNative::set_default_library(p_lib);
#else
- return ERR_UNAVAILABLE;
+ return (godot_error)ERR_UNAVAILABLE;
#endif
}
}