On Sat, Nov 04, 2006 at 07:03:48PM +0300, Vitaly Alexeev wrote: > strk <[EMAIL PROTECTED]> wrote: On Fri, Nov 03, 2006 at 03:28:00PM +0000, > Vitaly Alexeev wrote: > > > - ssize_t bytes_read = read(_fd, (void*)buf, bytes_needed); > > + size_t bytes_read = read(_fd, (void*)buf, bytes_needed);
> Does 'read' return an unsigned type on your system instead ? > > --strk; > > No, I have made a bug (win32 has no type ssize_t and I have mechanically > replaced ssize_t on size_t) > > This > size_t bytes_read = read (_fd, (void *) buf, bytes_needed); > > should be replaced on > > int bytes_read = read (_fd, (void *) buf, bytes_needed); What about typedef'ing ssize_t as 'unsigned int' IFF building against win32 instead ? --strk; _______________________________________________ Gnash-commit mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-commit
