diff options
author | Shalaj Jain <shalajj@codeaurora.org> | 2014-06-15 13:47:47 -0700 |
---|---|---|
committer | Arun Kumar K.R <akumarkr@codeaurora.org> | 2014-06-19 15:44:51 -0700 |
commit | a70b435d100aa791429bc42e7a29b34041adcaef (patch) | |
tree | ce52ff8a03de7b28f09cd2f9b8b89a9cbbe8f3a1 /libcopybit/copybit_c2d.cpp | |
parent | e606d7b14999328c8851dd373ba3129d3c15562b (diff) | |
download | display-a70b435d100aa791429bc42e7a29b34041adcaef.tar.gz |
display: remove compiler warnings
Use correct typecasts and format specifiers and resolve
compiler warnings
Change-Id: I51b12ecb78a9a496cf1f76c3d32892a203f70c43
Diffstat (limited to 'libcopybit/copybit_c2d.cpp')
-rw-r--r-- | libcopybit/copybit_c2d.cpp | 2 |
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; |