Thank you! It does work :)

But I'm working on some translated C code from a C library. The 
SUBSCRIPTIONS_REQUEST is exactly 0xFFFFFFFF in the C side. Though I don't 
understand the ture meanings of this const, I think it's better not to do such 
modification when doing 3rd party library bindings.

* * *

BTW, from your reply I think Nim by default translate Enum to C side int, is 
this right? or is this proper? or is there some other way to tell Nim to treat 
it as an uint?

Reply via email to