Commit 7b05a613 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix new GCC warning about return type.

parent 9439f5b8
Pipeline #1175 passed with stage
in 16 minutes and 45 seconds
......@@ -589,7 +589,7 @@ uint8_t* smb_getattachment(smbmsg_t* msg, char* buf, char* filename, size_t file
if(filelen != NULL)
*filelen = strlen(buf);
}
return buf;
return (uint8_t*)buf;
}
/* Return number of file attachments contained in MIME-encoded message body */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment