]> gcc.gnu.org Git - gcc.git/commitdiff
c_io_stdio.h (streamsize): Make it a typedef for ptrdiff_t.
authorMark Mitchell <mark@codesourcery.com>
Thu, 16 Nov 2000 09:26:14 +0000 (09:26 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 16 Nov 2000 09:26:14 +0000 (09:26 +0000)
* config/c_io_stdio.h (streamsize): Make it a typedef for
ptrdiff_t.
(wstreamsize): Likewise.

From-SVN: r37496

libstdc++-v3/ChangeLog
libstdc++-v3/config/c_io_stdio.h

index 66512b824eddaf922bcfe8ef02923e3626d2484e..8d7f919d79bdefb9ed87d603353b037944cab9e1 100644 (file)
@@ -1,5 +1,9 @@
 2000-11-16  Mark Mitchell  <mark@codesourcery.com>
 
+       * config/c_io_stdio.h (streamsize): Make it a typedef for
+       ptrdiff_t.
+       (wstreamsize): Likewise.
+
        * config/c_io_stdio.h: Include libio.h.
 
 Wed Nov 15 18:39:34 2000  Mark P Mitchell  <mark@codesourcery.com>
index 8dcf71ada498537a6f9aa15004a25daf2861bca7..0d2d26b7cf8140c46ef5f27b24a3d8e7e0a7162e 100644 (file)
@@ -45,10 +45,10 @@ namespace std {
 
 // from fpos.h
   typedef long         streamoff;
-  typedef size_t       streamsize; // Signed integral type
+  typedef ptrdiff_t    streamsize; // Signed integral type
 #if _GLIBCPP_USE_WCHAR_T
   typedef long         wstreamoff;
-  typedef size_t       wstreamsize;
+  typedef ptrdiff_t    wstreamsize;
 #endif
   typedef fpos_t       __c_streampos;
 
This page took 0.072033 seconds and 5 git commands to generate.