Tool/software: Code Composer Studio
Hi,
I use strtol function to convert "0xFFFFFFFF" to a uint32_t data. However, I got an error due to result out of range. Tracing into the function, I noticed that the maximum result was set to 0x07FFFFFF. Please see the attached picture.I tried to change the LONG_MAX definition, but could not find it.
Is there a reason to set the maximum value to be 0x07FFFFFF? How to fix this to covert value higher than 0x07FFFFFFF?
thanks
Peng
