shell32: MSVC compatibility fix in dump_pidl_hex().
This commit is contained in:
parent
9cc41d278f
commit
73096db501
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue