Update of /cvsroot/playerstage/code/player/server/drivers/blobfinder/cmvision
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11829/server/drivers/blobfinder/cmvision
Modified Files:
P2CMV.cc
Log Message:
replaced non portable uint with uint32_t
Index: P2CMV.cc
===================================================================
RCS file:
/cvsroot/playerstage/code/player/server/drivers/blobfinder/cmvision/P2CMV.cc,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** P2CMV.cc 23 Aug 2007 19:58:42 -0000 1.29
--- P2CMV.cc 24 Oct 2007 22:32:03 -0000 1.30
***************
*** 366,370 ****
/* got the data. now publish it */
! uint size = sizeof(mData) - sizeof(mData.blobs) +
mData.blobs_count * sizeof(mData.blobs[0]);
--- 366,370 ----
/* got the data. now publish it */
! uint32_t size = sizeof(mData) - sizeof(mData.blobs) +
mData.blobs_count * sizeof(mData.blobs[0]);
***************
*** 380,387 ****
mData.blobs_count = 3;
! for (uint i=0; i<mData.blobs_count; ++i)
{
! uint x = mWidth/5*i + mWidth/5;
! uint y = mHeight/2;
mData.blobs[i].x = x;
--- 380,387 ----
mData.blobs_count = 3;
! for (uint32_t i=0; i<mData.blobs_count; ++i)
{
! uint32_t x = mWidth/5*i + mWidth/5;
! uint32_t y = mHeight/2;
mData.blobs[i].x = x;
***************
*** 401,405 ****
{
// this is mainly for debugging purposes
! for (uint i=0; i<mData.blobs_count; ++i)
{
printf("%i: ", i);
--- 401,405 ----
{
// this is mainly for debugging purposes
! for (uint32_t i=0; i<mData.blobs_count; ++i)
{
printf("%i: ", i);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit