- 
    
Bug
 - 
    Resolution: Duplicate
 - 
    
  Not Evaluated                     
     - 
    None
 - 
    Qt Creator 3.3.2
 - 
    None
 - 
    Windows, MSVC 2013, cdb
 
Consider the following program.
#include <cstdio> int main(int argc, char *argv[]) { unsigned char c = 255; printf("%u\n", c); return 0; }
Break at the return statement and inspect the content of variable c.
The displayed content will be -1. Expected is 255.
- duplicates
 - 
                    
QTCREATORBUG-13809 locals and expressions: showing negative number for unsigned integers
-         
     - Closed
 
 -