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: ga...@freebsd.org .:|:. ga...@kovesdan.org
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to