mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 21:39:56 +03:00
Squash warnings
svn path=/trunk/netsurf/; revision=11953
This commit is contained in:
parent
ac1ecacb1b
commit
1a1c6baf9c
@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include "utils/utf8.h"
|
||||
@ -66,7 +67,7 @@ utf8_convert_ret utf8_from_local_encoding(const char *string, size_t len,
|
||||
LONG charset;
|
||||
|
||||
charset = GetDiskFontCtrl(DFCTRL_CHARSET);
|
||||
encname = ObtainCharsetInfo(DFCS_NUMBER, charset, DFCS_MIMENAME);
|
||||
encname = (const char *) ObtainCharsetInfo(DFCS_NUMBER, charset, DFCS_MIMENAME);
|
||||
#endif
|
||||
|
||||
return utf8_from_enc(string,encname,len,result);
|
||||
@ -81,7 +82,7 @@ utf8_convert_ret utf8_to_local_encoding(const char *string, size_t len,
|
||||
LONG charset;
|
||||
|
||||
charset = GetDiskFontCtrl(DFCTRL_CHARSET);
|
||||
encname = ObtainCharsetInfo(DFCS_NUMBER, charset, DFCS_MIMENAME);
|
||||
encname = (const char *) ObtainCharsetInfo(DFCS_NUMBER, charset, DFCS_MIMENAME);
|
||||
#endif
|
||||
|
||||
return utf8_to_enc(string,encname,len,result);
|
||||
|
Loading…
Reference in New Issue
Block a user