From ebee18a495b0d850aea034b9d459e0da3ed37eb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergi=20Hern=C3=A0ndez=20Juan?= <shernand@iri.upc.edu> Date: Fri, 2 Dec 2011 07:31:29 +0000 Subject: [PATCH] changed unsigned long long int to uint64_t for better compatibility in the stereo camera source code. --- src/examples/bumblebee.cpp | 2 +- src/pgr_stereo_camera.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/examples/bumblebee.cpp b/src/examples/bumblebee.cpp index e8a7ddd..e1845b3 100755 --- a/src/examples/bumblebee.cpp +++ b/src/examples/bumblebee.cpp @@ -24,7 +24,7 @@ int main(int argc, char *argv[]) char *left=NULL,*right=NULL; std::string new_frame,filename; std::stringstream text; - unsigned long long int guid=0x00B09D01007D6D85LL; + uint64_t guid=0x00B09D01007D6D85LL; std::list<std::string> events; try diff --git a/src/pgr_stereo_camera.cpp b/src/pgr_stereo_camera.cpp index 1ff76c6..4ff040c 100755 --- a/src/pgr_stereo_camera.cpp +++ b/src/pgr_stereo_camera.cpp @@ -22,7 +22,7 @@ CPGRStereoCamera::CPGRStereoCamera(dc1394_t *firewire,uint64_t camera_id):CFirew // overloaded functions from the base class void CPGRStereoCamera::set_config(unsigned int *left_off,unsigned int *top_off,unsigned int *width,unsigned int *height, float *framerate, depths_t depth, codings_t coding) { - unsigned long long int total_bytes; + uint64_t total_bytes; dc1394color_coding_t dc1394_coding; dc1394error_t error; unsigned int bpp; -- GitLab