Xin LI escribió:

Is binbuf[] an array of char or unsigned char?  If it's signed char then
you may want something like ch = binbufptr[0] & 0xff I guess.
Hi,

thanks, it is now satrting to work, binbuf was of signed int. But now, I've got one more of that strange character at the end of the output, while it's not really there.

--
Gabor Kovesdan
FreeBSD Volunteer

EMAIL: [email protected] .:|:. [email protected]
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to