title: How to convert long long to unsigned int in C/C++
body: <p>I am reading from a JSON file using jannson library. The key I am reading for has a value that is of type <code>unsigned int</code>. Jannson cannot recognize <code>unsigned int</code>. So, I am reading the value as a <code>long long</code>. How do I convert this <code>long long</code> value safely to an <code>unsigned int</code>?</p>