From df7a909a84d76cbb43f8f75ea2a837c2a1968e96 Mon Sep 17 00:00:00 2001 From: emanuele-f Date: Sun, 15 Jan 2023 12:14:32 +0100 Subject: [PATCH] Fix function signature --- app/src/main/jni/core/jni_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/jni/core/jni_impl.c b/app/src/main/jni/core/jni_impl.c index 034a3955..3c13d80d 100644 --- a/app/src/main/jni/core/jni_impl.c +++ b/app/src/main/jni/core/jni_impl.c @@ -109,7 +109,7 @@ static void sendStatsDump(pcapdroid_t *pd) { /* ******************************************************* */ -static void sendPcapDump(struct pcapdroid *pd, int8_t *buf, int dump_size) { +static void sendPcapDump(struct pcapdroid *pd, const int8_t *buf, int dump_size) { JNIEnv *env = pd->env; //log_d("Exporting a %d B PCAP buffer", pd->pcap_dump.buffer_idx);