MF_CHECKED Dumb Question

In Winuser.h we have this...

1
2
#define MF_UNCHECKED        0x00000000L
#define MF_CHECKED          0x00000008L 


The L on the end has me wondering if I am safe to use size_t on these, for example...

1
2
size_t MF_WONTOP;
bWONTOP==TRUE ? MF_WONTOP=MF_CHECKED : MF_WONTOP=MF_UNCHECKED;


Or do I need to cast MF_WONTOP as a long?
since MF_CHECKED and MF_UNCHECKED have only low values you can use size_t but a long would be better, even because size_t should be unsigned
Okay, thanks. That's what I was thinking, but I'm still feeling my way on these things.
Topic archived. No new replies allowed.