Hi, "Generally", "int" has the native register width of the CPU under considera= tion. However, you can also use the sizeof() keyword to find the same. The answer to your question depends on the CPU architecture: If you use the XC8 compiler, the datatypes are defined here: https://ww1.microchip.com/downloads/en/DeviceDoc/52053B.pdf If you use the XC16 compiler, the datatypes are defined here: http://ww1.microchip.com/downloads/en/DeviceDoc/DS50002071GFinal1.pdf If you use the XC32 compiler, the datatypes are defined here: http://ww1.microchip.com/downloads/en/DeviceDoc/50001686J.pdf Cheers, Manu On Mon, Oct 29, 2018 at 9:56 AM David Duffy (AVD) wrote: > > I must be having a blonde moment. I've inherited some C code that is > littered with "unsigned int" and "signed int" variables. How do I find > what size they would have been in a given mplabx project? > David... > > -- > ___________________________________________ > David Duffy Audio Visual Devices P/L > Unit 8, 10 Hook St, Capalaba 4157 Australia > Ph: +61 7 38235717 Fax: +61 7 38234717 > Our Web Site: www.audiovisualdevices.com.au > ___________________________________________ > > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .