summaryrefslogtreecommitdiff
path: root/libcopybit/copybit_c2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcopybit/copybit_c2d.cpp')
-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;