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