Re: [RFA] Fix cygwin32 failure introduced by [patch] windows-nat.c: Fix offset problem in signal string handling

Eli Zaretskii
2013-03-27T10:59:05Z

> Date: Wed, 27 Mar 2013 12:46:45 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: brobecker@adacore.com, gdb-patches@sourceware.org, vinschen@redhat.com
>
> unsigned long xul;
> ...
> xul = strtoull (p, NULL, 0) & ~((DWORD_PTR)0);
> x = (LPCVOID) xul;

Sorry, one more gotcha: the first line should say this:

DWORD_PTR xul;

(You could also use uintptr_t instead of DWORD_PTR in both places, but
I prefer not to mix Windows data types with standard ones.)