certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] certi/RTIA ObjectManagement.hh ObjectManagement.cc


From: certi-cvs
Subject: [certi-cvs] certi/RTIA ObjectManagement.hh ObjectManagement.cc
Date: Tue, 09 Nov 2010 22:24:44 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      10/11/09 22:24:44

Modified files:
        RTIA           : ObjectManagement.hh ObjectManagement.cc 

Log message:
        Fix some wrong int size.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/RTIA/ObjectManagement.hh?cvsroot=certi&r1=3.36&r2=3.37
http://cvs.savannah.gnu.org/viewcvs/certi/RTIA/ObjectManagement.cc?cvsroot=certi&r1=3.72&r2=3.73

Patches:
Index: ObjectManagement.hh
===================================================================
RCS file: /sources/certi/certi/RTIA/ObjectManagement.hh,v
retrieving revision 3.36
retrieving revision 3.37
diff -u -b -r3.36 -r3.37
--- ObjectManagement.hh 2 Oct 2010 13:20:42 -0000       3.36
+++ ObjectManagement.hh 9 Nov 2010 22:24:44 -0000       3.37
@@ -18,7 +18,7 @@
 // along with this program ; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// $Id: ObjectManagement.hh,v 3.36 2010/10/02 13:20:42 erk Exp $
+// $Id: ObjectManagement.hh,v 3.37 2010/11/09 22:24:44 erk Exp $
 // ----------------------------------------------------------------------------
 
 #ifndef _CERTI_RTIA_OM
@@ -184,7 +184,7 @@
 
     void provideAttributeValueUpdate(ObjectHandle theObject,
                                       const std::vector <AttributeHandle> 
&theAttributes,
-                                      uint16_t attribArraySize,
+                                      uint32_t attribArraySize,
                                      TypeException &e);
 
     void retract(EventRetractionHandle theHandle, TypeException &e);
@@ -308,4 +308,4 @@
 
 #endif // _CERTI_RTIA_OM
 
-// $Id: ObjectManagement.hh,v 3.36 2010/10/02 13:20:42 erk Exp $
+// $Id: ObjectManagement.hh,v 3.37 2010/11/09 22:24:44 erk Exp $

Index: ObjectManagement.cc
===================================================================
RCS file: /sources/certi/certi/RTIA/ObjectManagement.cc,v
retrieving revision 3.72
retrieving revision 3.73
diff -u -b -r3.72 -r3.73
--- ObjectManagement.cc 8 Nov 2010 15:31:34 -0000       3.72
+++ ObjectManagement.cc 9 Nov 2010 22:24:44 -0000       3.73
@@ -712,7 +712,7 @@
 void
 ObjectManagement::provideAttributeValueUpdate(ObjectHandle the_object,
                const std::vector <AttributeHandle> &the_attributes,
-               uint16_t attribArraySize,
+               uint32_t attribArraySize,
                TypeException &)
 {
        M_Provide_Attribute_Value_Update req;
@@ -720,8 +720,7 @@
        G.Out(pdGendoc,"enter ObjectManagement::provideAttributeValueUpdate");
        req.setObject(the_object);
        req.setAttributesSize(attribArraySize);
-
-       for (int i = 0 ; i < attribArraySize ; i++) {
+       for (uint32_t i = 0 ; i < attribArraySize ; ++i) {
                req.setAttributes(the_attributes[i],i);
        }
 



reply via email to

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