From 4d3cace6da68ae75bc5cb1172d82a47226a21f2f Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Wed, 9 Sep 2020 08:07:30 +0200 Subject: [PATCH] Menu: Fixed all 2 warnings. --- src/menu-fn/tcp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/menu-fn/tcp.cpp b/src/menu-fn/tcp.cpp index e9652cee..6db6a812 100644 --- a/src/menu-fn/tcp.cpp +++ b/src/menu-fn/tcp.cpp @@ -108,7 +108,7 @@ TCP_Frame(tcpinfo_t *in) if (fwrite(in.m_fSocket, (void *)out, strlen(in.m_strBuffer[0])) <= 0) { dprint("^1TCP_Frame^7: Unsuccessful frame\n"); - memfree(out); + memfree((__variant *)out); return; } @@ -123,7 +123,7 @@ TCP_Frame(tcpinfo_t *in) } in.m_iBufferLines--; - memfree(out); + memfree((__variant *)out); } int