you could assign it to a char ptr after typecasting so that gcc wont complain.
Take care of the endianness though, this will not be portable.
something like:

int a;
char *ptr;
ptr = (char *) a;

On 12/2/05, Sandeep <[EMAIL PROTECTED]> wrote:
>
> Hello i want to convert a long integer to character array in gcc
> compiler , how about achieving it?
>
>


--
Girls are like slugs.... You know they are around for a reason, but
you cant imagine what.
                                                                      
                               -- Calvin

Reply via email to