Signed-off-by: Michael Stefaniuc mstefani@winehq.org --- programs/winebrowser/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/winebrowser/main.c b/programs/winebrowser/main.c index b1c49e7cd1..7fcaba13a1 100644 --- a/programs/winebrowser/main.c +++ b/programs/winebrowser/main.c @@ -334,7 +334,7 @@ static WCHAR *encode_unix_path(const char *src) const char safe_chars[] = "/-_.~@&=+$,:"; const char hex_digits[] = "0123456789ABCDEF"; const WCHAR schema[] = {'f','i','l','e',':','/','/',0}; - int len = sizeof(schema)/sizeof(schema[0]); + int len = ARRAY_SIZE(schema);
tmp_src = src;