summaryrefslogtreecommitdiff
path: root/src/net/WebRTCDataChannelNative.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/WebRTCDataChannelNative.cpp')
-rw-r--r--src/net/WebRTCDataChannelNative.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/WebRTCDataChannelNative.cpp b/src/net/WebRTCDataChannelNative.cpp
index 4639021..c594dd6 100644
--- a/src/net/WebRTCDataChannelNative.cpp
+++ b/src/net/WebRTCDataChannelNative.cpp
@@ -72,7 +72,7 @@ godot_int get_max_packet_size_wdc(const void *user) {
}
void set_write_mode_wdc(void *user, godot_int write_mode) {
- ((WebRTCDataChannelNative *)user)->_set_write_mode(write_mode);
+ ((WebRTCDataChannelNative *)user)->_set_write_mode((godot::WebRTCDataChannel::WriteMode)write_mode);
}
godot_int get_write_mode_wdc(const void *user) {