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

Fix new GCC warning about return type.

parent 670acd23
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment