• Casting Char Pointers to Other Data Types
    I just found an insidious and disconcerting characteristic of the uVision3 ARM compiler V3.12a. I have inherited C code to migrate to the ARM processor. This C code uses unsigned char pointers quite liberally...
  • Casting Char Pointers to Other Data Types
    I just found an insidious and disconcerting characteristic of the uVision3 ARM compiler V3.12a. I have inherited C code to migrate to the ARM processor. This C code uses unsigned char pointers quite liberally...
  • How to Cast a void* ponter to a char without a warning?
    I am using the RTX mailbox and a lot of it's usage uses casting of the mailbox message to other types - a really quick and clever way to use it(thanks Keil :). When I cast a void * vPointer to a unigned...
  • How to Cast a void* ponter to a char without a warning?
    I am using the RTX mailbox and a lot of it's usage uses casting of the mailbox message to other types - a really quick and clever way to use it(thanks Keil :). When I cast a void * vPointer to a unigned...
  • char to hex value
    Hello, I have a little problem displaying a char to an hex value. char t; t = 0x01; printf("%x",t); This code outputs 100 where I expected to get 1... Am I doing something wrong ?