diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-08-24 22:00:02 +0200 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-08-24 22:00:02 +0200 |
commit | bddbb5b370d925d6e5ae62d560f5e7ad09a6ffac (patch) | |
tree | 0097050939c367599ed4ca3d120588079e30dcb0 /minui | |
parent | Merge "Fixed warnings in libmtdutils" (diff) | |
parent | Fixing trivial warnings for libminui (diff) | |
download | android_bootable_recovery-bddbb5b370d925d6e5ae62d560f5e7ad09a6ffac.tar android_bootable_recovery-bddbb5b370d925d6e5ae62d560f5e7ad09a6ffac.tar.gz android_bootable_recovery-bddbb5b370d925d6e5ae62d560f5e7ad09a6ffac.tar.bz2 android_bootable_recovery-bddbb5b370d925d6e5ae62d560f5e7ad09a6ffac.tar.lz android_bootable_recovery-bddbb5b370d925d6e5ae62d560f5e7ad09a6ffac.tar.xz android_bootable_recovery-bddbb5b370d925d6e5ae62d560f5e7ad09a6ffac.tar.zst android_bootable_recovery-bddbb5b370d925d6e5ae62d560f5e7ad09a6ffac.zip |
Diffstat (limited to '')
-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; |