summaryrefslogtreecommitdiff
path: root/libcopybit
diff options
context:
space:
mode:
authorShalaj Jain <shalajj@codeaurora.org>2014-06-15 13:47:47 -0700
committerArun Kumar K.R <akumarkr@codeaurora.org>2014-06-19 15:44:51 -0700
commita70b435d100aa791429bc42e7a29b34041adcaef (patch)
treece52ff8a03de7b28f09cd2f9b8b89a9cbbe8f3a1 /libcopybit
parente606d7b14999328c8851dd373ba3129d3c15562b (diff)
downloaddisplay-a70b435d100aa791429bc42e7a29b34041adcaef.tar.gz
display: remove compiler warnings
Use correct typecasts and format specifiers and resolve compiler warnings Change-Id: I51b12ecb78a9a496cf1f76c3d32892a203f70c43
Diffstat (limited to 'libcopybit')
-rw-r--r--libcopybit/copybit_c2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcopybit/copybit_c2d.cpp b/libcopybit/copybit_c2d.cpp
index 7e2c5009..d2b00dd0 100644
--- a/libcopybit/copybit_c2d.cpp
+++ b/libcopybit/copybit_c2d.cpp
@@ -962,7 +962,7 @@ static void populate_buffer_info(struct copybit_image_t const *img, bufferInfo&
/* Function to get the required size for a particular format, inorder for C2D to perform
* the blit operation.
*/
-static size_t get_size(const bufferInfo& info)
+static int get_size(const bufferInfo& info)
{
int size = 0;
int w = info.width;