summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-18 21:13:18 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-18 21:13:18 +0300
commit9b05a5709fb7545579eb17bc16d75bb6de8162d7 (patch)
tree10121dcb41acac8d62c85679f75d117b61a2ccba
parentad7d39e1490817064675e148ec8e4cbec9cd5206 (diff)
fb: fix a few wrong types
-rw-r--r--libkms++/extframebuffer.cpp2
-rw-r--r--libkms++/extframebuffer.h2
-rw-r--r--libkms++/framebuffer.cpp2
-rw-r--r--libkms++/framebuffer.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/libkms++/extframebuffer.cpp b/libkms++/extframebuffer.cpp
index 2dd2903..352c1a7 100644
--- a/libkms++/extframebuffer.cpp
+++ b/libkms++/extframebuffer.cpp
@@ -12,7 +12,7 @@ using namespace std;
namespace kms
{
-ExtFramebuffer::ExtFramebuffer(Card& card, uint32_t width, uint32_t height, uint32_t depth, uint32_t bpp, uint32_t stride, uint32_t handle)
+ExtFramebuffer::ExtFramebuffer(Card& card, uint32_t width, uint32_t height, uint8_t depth, uint8_t bpp, uint32_t stride, uint32_t handle)
:Framebuffer(card, width, height)
{
uint32_t id;
diff --git a/libkms++/extframebuffer.h b/libkms++/extframebuffer.h
index 7ed3434..eab7e3c 100644
--- a/libkms++/extframebuffer.h
+++ b/libkms++/extframebuffer.h
@@ -9,7 +9,7 @@ namespace kms
class ExtFramebuffer : public Framebuffer
{
public:
- ExtFramebuffer(Card& card, uint32_t width, uint32_t height, uint32_t depth, uint32_t bpp, uint32_t stride, uint32_t handle);
+ ExtFramebuffer(Card& card, uint32_t width, uint32_t height, uint8_t depth, uint8_t bpp, uint32_t stride, uint32_t handle);
ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
uint32_t handles[4], uint32_t pitches[4], uint32_t offsets[4]);
ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
diff --git a/libkms++/framebuffer.cpp b/libkms++/framebuffer.cpp
index 2481561..bf9ab01 100644
--- a/libkms++/framebuffer.cpp
+++ b/libkms++/framebuffer.cpp
@@ -12,7 +12,7 @@ using namespace std;
namespace kms
{
-Framebuffer::Framebuffer(Card& card, int width, int height)
+Framebuffer::Framebuffer(Card& card, uint32_t width, uint32_t height)
: DrmObject(card, DRM_MODE_OBJECT_FB), m_width(width), m_height(height)
{
card.m_framebuffers.push_back(this);
diff --git a/libkms++/framebuffer.h b/libkms++/framebuffer.h
index 25659c6..cbf705d 100644
--- a/libkms++/framebuffer.h
+++ b/libkms++/framebuffer.h
@@ -14,7 +14,7 @@ public:
uint32_t width() const { return m_width; }
uint32_t height() const { return m_height; }
protected:
- Framebuffer(Card& card, int width, int height);
+ Framebuffer(Card& card, uint32_t width, uint32_t height);
private:
uint32_t m_width;