• 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...
  • POINTER type cast probelm due to alignment
    HI Iam having problem when pointer to the location is not on a 4 byte boundary (divisible by 4). when i call the function and pass arguments, i see that inside the called function, it points to an aligned...
  • 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,,,
  • regarding type casting
    my program stop running while executing the following line. (struct IFramHead *) ptr) ->length = Length; where declaration are as bellow: 1: unsigned int Length 2: struct IFramHead { ...