[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/libbase noseek_fd_adapter.cpp
From: |
Vitaly Alexeev |
Subject: |
[Gnash-commit] gnash/libbase noseek_fd_adapter.cpp |
Date: |
Fri, 27 Oct 2006 15:03:50 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Vitaly Alexeev <alexeev> 06/10/27 15:03:49
Modified files:
libbase : noseek_fd_adapter.cpp
Log message:
porting to win32
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/noseek_fd_adapter.cpp?cvsroot=gnash&r1=1.6&r2=1.7
Patches:
Index: noseek_fd_adapter.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/noseek_fd_adapter.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- noseek_fd_adapter.cpp 3 Oct 2006 13:33:22 -0000 1.6
+++ noseek_fd_adapter.cpp 27 Oct 2006 15:03:49 -0000 1.7
@@ -34,7 +34,7 @@
// forward this exception.
//
-/* $Id: noseek_fd_adapter.cpp,v 1.6 2006/10/03 13:33:22 strk Exp $ */
+/* $Id: noseek_fd_adapter.cpp,v 1.7 2006/10/27 15:03:49 alexeev Exp $ */
#if defined(_WIN32) || defined(WIN32)
#define snprintf _snprintf
@@ -243,7 +243,7 @@
char* buf = new char[bytes_needed];
- ssize_t bytes_read = read(_fd, (void*)buf, bytes_needed);
+ size_t bytes_read = read(_fd, (void*)buf, bytes_needed);
if ( bytes_read == -1 )
{
fprintf(stderr, "Error reading " SIZET_FMT " bytes from input
stream",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/libbase noseek_fd_adapter.cpp,
Vitaly Alexeev <=