toon-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Toon-members] TooN/internal debug.hh


From: Edward Rosten
Subject: [Toon-members] TooN/internal debug.hh
Date: Wed, 14 Oct 2009 15:25:14 +0000

CVSROOT:        /cvsroot/toon
Module name:    TooN
Changes by:     Edward Rosten <edrosten>        09/10/14 15:25:14

Modified files:
        internal       : debug.hh 

Log message:
        Fix a warning.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/TooN/internal/debug.hh?cvsroot=toon&r1=1.7&r2=1.8

Patches:
Index: debug.hh
===================================================================
RCS file: /cvsroot/toon/TooN/internal/debug.hh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- debug.hh    10 Jul 2009 16:21:49 -0000      1.7
+++ debug.hh    14 Oct 2009 15:25:13 -0000      1.8
@@ -65,7 +65,7 @@
                        static intbits random = { ((std::time(NULL) & 
0xffffffff) *1664525L + 1013904223L)& 0xffffffff};
                        unsigned char* cdata = reinterpret_cast<unsigned 
char*>(data);
 
-                       int bytes = sizeof(P)*n, i=0;
+                       size_t bytes = sizeof(P)*n, i=0;
                        
                        //Do nothing except for noisy failure with non-POD 
types.
                        datafail<P> d={0};




reply via email to

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