potentially incorrect conversion of pointer to unsigned long

Cameron Simpson cs at cskk.id.au
Sat Jun 22 23:06:28 UTC 2019

On 23Jun2019 09:01, Cameron Simpson <cs at cskk.id.au> wrote:
>So how about this:
>   #define UNSET_CHAR_PTR "<unset>"
>and to use UNSET_CHAR_PTR instead of (uintptr_t)-1 and (unsigned 

Actually a macro wouldn't do, particularly if the macro gets used in 
another file. You'd need a static string.

  char UNSET_CHAR_PTR[] = "<unset>";

so that there'd be just once instead of it.

Otherwise the suggestion remains.

Cameron Simpson <cs at cskk.id.au>

More information about the Mutt-dev mailing list