• Can pointer types be cast?
    Here is my problem, i have several simmilar structue definitions (containers for messages) struct FIRST{ unsigned char Word_Pos[8] unsigned char Data[8] unsigned char Msg_Len }; struct FIRST...
  • type casting?
    Hello, a question about how C166 handles type conversions: I have this: unsigned long c; unsigned char i, d if the following code is executed: c = 20403776; i = 0; d = 3; c += pow...
  • 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...
  • Probelm checking for NULL
    I am trying to check for a NULL character but I get the following error when I try to comiple: Error C193: '!=': bad operand type Any suggestion on how to correct the problem? Thanks.
  • problem in type casting in keil
    i am having problem in type casting for lpc2129 please can any one give me an example of type casting which works,,,