From 7951ba51c07611e4e62ea04c931ded83d0c29fa6 Mon Sep 17 00:00:00 2001 From: MPR Date: Sun, 24 Aug 2014 14:35:18 +0000 Subject: [PATCH] fix member order createion/initialization --- inc/V4l2Device.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/V4l2Device.h b/inc/V4l2Device.h index 5c784f7..8953ac1 100644 --- a/inc/V4l2Device.h +++ b/inc/V4l2Device.h @@ -22,13 +22,13 @@ // --------------------------------- struct V4L2DeviceParameters { - V4L2DeviceParameters(const char* devname, int format, int width, int height, int fps, int verbose) : + V4L2DeviceParameters(const char* devname, unsigned int format, unsigned int width, unsigned int height, int fps, int verbose) : m_devName(devname), m_format(format), m_width(width), m_height(height), m_fps(fps), m_verbose(verbose) {}; std::string m_devName; - int m_width; - int m_height; - int m_format; + unsigned int m_format; + unsigned int m_width; + unsigned int m_height; int m_fps; int m_verbose; }; @@ -67,4 +67,4 @@ class V4L2Device int m_bufferSize; }; -#endif \ No newline at end of file +#endif