[Kamailio-Devel] SF.net SVN: openser:[4832] trunk/modules

Henning Westerholt henning.westerholt at 1und1.de
Fri Sep 12 14:09:13 CEST 2008


On Friday 12 September 2008, Juha Heinanen wrote:
>  > An int is 4, int* is 8 bytes on amd64.
>
> good that is it not the other way around.
>
> then what is the proper way to assign an int to a char* variable in
> order to avoid the warning?

You could probably throw more casts to this assignment to silence this, but 
its just a warning. This direction should be safe, as you said. So perhaps we 
can just leave it this way for now.

Henning



More information about the Devel mailing list