• Converting unsigned char[] to long?
    How can you access the individual bytes making up a variable of type long? What I need to do is move a 24-bit (3 bytes) unsigned char array into a long variable. An example: unsigned char a[3]; unsigned...
  • Converting 'short' to 'unsigned char'
    Hi, I've to debug an application written by someone else (...) An 'unsigned char' is used to be filled with data from a 'short'. If I change the source 'short' variabele type (filled somewhere...
  • convert unsigned int to class pointer
    Hello together, i was trying to find out, how to cast an unsigned int to a class pointer. I´m using a stm32 under µVision4. I read something about reinterpret casts, and that they´re not that runtime...
  • Compile char as an unsigned char
    Hello, Can anyone tell me how to instruct Keil to compile char's as unsigned char's by default? I know that there are some help topics on this issue, but they seem to be giving a precompiler...
  • HELLO.C(894): warning C40: 'unsigned char' converted to pointer
    In the next code I receive the compiler error: HELLO.C(894): warning C40: 'unsigned char' converted to pointer My code: #include <71x_lib.H> #include <stdio.h> #include <stdlib.h> #include...