certi-cvs
[Top][All Lists]
Advanced

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

[certi-cvs] certi/RTIG Federation.cc Federation.hh


From: certi-cvs
Subject: [certi-cvs] certi/RTIG Federation.cc Federation.hh
Date: Tue, 09 Nov 2010 22:24:26 +0000

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

Modified files:
        RTIG           : Federation.cc Federation.hh 

Log message:
        Fix some wrong int size.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/RTIG/Federation.cc?cvsroot=certi&r1=3.136&r2=3.137
http://cvs.savannah.gnu.org/viewcvs/certi/RTIG/Federation.hh?cvsroot=certi&r1=3.69&r2=3.70

Patches:
Index: Federation.cc
===================================================================
RCS file: /sources/certi/certi/RTIG/Federation.cc,v
retrieving revision 3.136
retrieving revision 3.137
diff -u -b -r3.136 -r3.137
--- Federation.cc       2 Oct 2010 13:20:42 -0000       3.136
+++ Federation.cc       9 Nov 2010 22:24:26 -0000       3.137
@@ -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: Federation.cc,v 3.136 2010/10/02 13:20:42 erk Exp $
+// $Id: Federation.cc,v 3.137 2010/11/09 22:24:26 erk Exp $
 // ----------------------------------------------------------------------------
 
 #include <config.h>
@@ -2650,7 +2650,7 @@
 Federation::requestObjectOwner(FederateHandle theFederateHandle,
                ObjectHandle theObject,
                const std::vector <AttributeHandle> &theAttributeList,
-               uint16_t theListSize)
+               uint32_t theListSize)
 throw (ObjectNotKnown)
 {
        FederateHandle theOwnerHandle ;
@@ -2665,7 +2665,7 @@
        mess.setFederate(theFederateHandle);
        mess.setObject(theObject);
        mess.setAttributesSize(theListSize) ;
-       for (int i = 0 ; i < theListSize ; i++)
+       for (uint32_t i = 0 ; i < theListSize ; ++i)
        {
                mess.setAttributes(theAttributeList[i],i) ;
        }
@@ -2739,5 +2739,5 @@
 
 }} // namespace certi/rtig
 
-// $Id: Federation.cc,v 3.136 2010/10/02 13:20:42 erk Exp $
+// $Id: Federation.cc,v 3.137 2010/11/09 22:24:26 erk Exp $
 

Index: Federation.hh
===================================================================
RCS file: /sources/certi/certi/RTIG/Federation.hh,v
retrieving revision 3.69
retrieving revision 3.70
diff -u -b -r3.69 -r3.70
--- Federation.hh       2 Oct 2010 13:20:42 -0000       3.69
+++ Federation.hh       9 Nov 2010 22:24:26 -0000       3.70
@@ -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: Federation.hh,v 3.69 2010/10/02 13:20:42 erk Exp $
+// $Id: Federation.hh,v 3.70 2010/11/09 22:24:26 erk Exp $
 // ----------------------------------------------------------------------------
 
 #ifndef _CERTI_RTIG_FEDERATION_HH
@@ -302,7 +302,7 @@
     FederateHandle requestObjectOwner(FederateHandle theFederateHandle,
                                 ObjectHandle theObject,
                                 const std::vector <AttributeHandle> 
&theAttributeList,
-                                uint16_t theListSize)
+                                uint32_t theListSize)
         throw (ObjectNotKnown);
        
        void requestClassAttributeValueUpdate(FederateHandle theFederateHandle,
@@ -723,4 +723,4 @@
 
 #endif // _CERTI_RTIG_FEDERATION_HH
 
-// $Id: Federation.hh,v 3.69 2010/10/02 13:20:42 erk Exp $
+// $Id: Federation.hh,v 3.70 2010/11/09 22:24:26 erk Exp $



reply via email to

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