Skip to content
Snippets Groups Projects
Commit 7b05a613 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix new GCC warning about return type.

parent 9439f5b8
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1175 passed
...@@ -589,7 +589,7 @@ uint8_t* smb_getattachment(smbmsg_t* msg, char* buf, char* filename, size_t file ...@@ -589,7 +589,7 @@ uint8_t* smb_getattachment(smbmsg_t* msg, char* buf, char* filename, size_t file
if(filelen != NULL) if(filelen != NULL)
*filelen = strlen(buf); *filelen = strlen(buf);
} }
return buf; return (uint8_t*)buf;
} }
/* Return number of file attachments contained in MIME-encoded message body */ /* Return number of file attachments contained in MIME-encoded message body */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment