diff --git a/src/examples/bumblebee.cpp b/src/examples/bumblebee.cpp
index e8a7ddd9e02856598cb291d4ffb33ee5d30b854a..e1845b38d31f5d7795cd40418500a4b22bc108e0 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 1ff76c6f52d6d8391ab4844af3326800e0b08647..4ff040cfccf23c4509ec82e0bdfe0f097444624c 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;