mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-04 16:06:49 +02:00
Merge "unicode,INIT_WARGV: add missing cast"
This commit is contained in:
commit
e05f785a66
@ -28,7 +28,8 @@
|
|||||||
// Create a wchar_t array containing Unicode parameters.
|
// Create a wchar_t array containing Unicode parameters.
|
||||||
#define INIT_WARGV(ARGC, ARGV) \
|
#define INIT_WARGV(ARGC, ARGV) \
|
||||||
int wargc; \
|
int wargc; \
|
||||||
const W_CHAR** const wargv = CommandLineToArgvW(GetCommandLineW(), &wargc); \
|
const W_CHAR** const wargv = \
|
||||||
|
(const W_CHAR**)CommandLineToArgvW(GetCommandLineW(), &wargc); \
|
||||||
do { \
|
do { \
|
||||||
if (wargv == NULL || wargc != (ARGC)) { \
|
if (wargv == NULL || wargc != (ARGC)) { \
|
||||||
fprintf(stderr, "Error: Unable to get Unicode arguments.\n"); \
|
fprintf(stderr, "Error: Unable to get Unicode arguments.\n"); \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user