diff options
author | Edwin Vane <edwin.vane@intel.com> | 2012-07-27 17:32:23 +0200 |
---|---|---|
committer | Edwin Vane <edwin.vane@intel.com> | 2012-08-21 22:04:43 +0200 |
commit | edc5d17096bd1a69fee0f3470a2af4fe46969bec (patch) | |
tree | e29c9ca3a47dbb181b3643eeb6f922ab6446d4fb /minui/resources.c | |
parent | Merge changes I664f8dc7,I4154db06,I5e1df90f (diff) | |
download | android_bootable_recovery-edc5d17096bd1a69fee0f3470a2af4fe46969bec.tar android_bootable_recovery-edc5d17096bd1a69fee0f3470a2af4fe46969bec.tar.gz android_bootable_recovery-edc5d17096bd1a69fee0f3470a2af4fe46969bec.tar.bz2 android_bootable_recovery-edc5d17096bd1a69fee0f3470a2af4fe46969bec.tar.lz android_bootable_recovery-edc5d17096bd1a69fee0f3470a2af4fe46969bec.tar.xz android_bootable_recovery-edc5d17096bd1a69fee0f3470a2af4fe46969bec.tar.zst android_bootable_recovery-edc5d17096bd1a69fee0f3470a2af4fe46969bec.zip |
Diffstat (limited to 'minui/resources.c')
-rw-r--r-- | minui/resources.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/minui/resources.c b/minui/resources.c index b437a87cb..5e2062192 100644 --- a/minui/resources.c +++ b/minui/resources.c @@ -38,7 +38,7 @@ // need this functionality (it's used for gamma adjustment) so provide // a dummy implementation to satisfy the linker. double pow(double x, double y) { - return x; + return x * y; } int res_create_surface(const char* name, gr_surface* pSurface) { @@ -130,7 +130,7 @@ int res_create_surface(const char* name, gr_surface* pSurface) { alpha = 1; } - int y; + unsigned int y; if (channels == 3 || (channels == 1 && !alpha)) { for (y = 0; y < height; ++y) { unsigned char* pRow = pData + y * stride; |