uint32 in ValueTree

What is the best way to store a uin32 in a valuetree?
It works by casting to int64, but then I get conversion warnings.
There is probably some obvious solution that I have not thought about :slight_smile:

Yeah, just cast to int or int64.

Thank you for the reply. Yes, that works but then I get warnings when converting it back, while loading data from the tree.
This is of course safe, I just want to get rid of the warnings…

So just add a cast to avoid the warning. As long as you know what you’re doing, it’s a valid conversion.