Commit 73096db5 authored by Martin Fuchs's avatar Martin Fuchs Committed by Alexandre Julliard

shell32: MSVC compatibility fix in dump_pidl_hex().

parent 9cc41d27
...@@ -224,7 +224,8 @@ void pdump (LPCITEMIDLIST pidl) ...@@ -224,7 +224,8 @@ void pdump (LPCITEMIDLIST pidl)
static void dump_pidl_hex( LPCITEMIDLIST pidl ) static void dump_pidl_hex( LPCITEMIDLIST pidl )
{ {
const unsigned char *p = (const unsigned char *)pidl; const unsigned char *p = (const unsigned char *)pidl;
const int max_bytes = 0x80, max_line = 0x10; const int max_bytes = 0x80;
#define max_line 0x10
char szHex[max_line*3+1], szAscii[max_line+1]; char szHex[max_line*3+1], szAscii[max_line+1];
int i, n; int i, n;
......
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