summaryrefslogtreecommitdiff
path: root/src/net/WebRTCPeerNative.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/WebRTCPeerNative.cpp')
-rw-r--r--src/net/WebRTCPeerNative.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/WebRTCPeerNative.cpp b/src/net/WebRTCPeerNative.cpp
index d2abcaa..449cca2 100644
--- a/src/net/WebRTCPeerNative.cpp
+++ b/src/net/WebRTCPeerNative.cpp
@@ -24,7 +24,7 @@ WebRTCPeerNative::~WebRTCPeerNative() {
* In this case it forwards calls to our C++ class, but could be plain C,
* and you could use void *user for any kind of state struct pointer you have.
*/
-godot_error get_packet_wp(void *user, const uint8_t **r_buffer, int &r_len) {
+godot_error get_packet_wp(void *user, const uint8_t **r_buffer, int *r_len) {
return ((WebRTCPeerNative *)user)->get_packet(r_buffer, r_len);
}