gnash-commit
[Top][All Lists]
Advanced

[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: Sat, 04 Nov 2006 16:18:12 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Vitaly Alexeev <alexeev>        06/11/04 16:18:11

Modified files:
        libbase        : noseek_fd_adapter.cpp 

Log message:
                * libbase\noseek_fd_adapter.cpp: size_t ==> int
                (Thanks Sandro)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/noseek_fd_adapter.cpp?cvsroot=gnash&r1=1.11&r2=1.12

Patches:
Index: noseek_fd_adapter.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/noseek_fd_adapter.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- noseek_fd_adapter.cpp       3 Nov 2006 15:28:00 -0000       1.11
+++ noseek_fd_adapter.cpp       4 Nov 2006 16:18:11 -0000       1.12
@@ -16,7 +16,7 @@
 
 // 
 
-/* $Id: noseek_fd_adapter.cpp,v 1.11 2006/11/03 15:28:00 alexeev Exp $ */
+/* $Id: noseek_fd_adapter.cpp,v 1.12 2006/11/04 16:18:11 alexeev Exp $ */
 
 #if defined(_WIN32) || defined(WIN32)
 #define snprintf _snprintf
@@ -225,7 +225,7 @@
 
 
        char* buf = new char[bytes_needed];
-       size_t bytes_read = read(_fd, (void*)buf, bytes_needed);
+       int bytes_read = read(_fd, (void*)buf, bytes_needed);
        if ( bytes_read < 0 )
        {
                fprintf(stderr,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]