diff options
author | Sebastian Dransfeld <sd@tango.flipp.net> | 2014-10-28 10:03:11 +0100 |
---|---|---|
committer | Sebastian Dransfeld <sd@tango.flipp.net> | 2014-10-31 12:59:51 +0100 |
commit | 17d6bed1b84dd0540f7693184110406c220233ae (patch) | |
tree | 17b055a442894bbd79bdbf7b0ba14de8bbdae1c7 /src/bin/common/shmfile.h | |
parent | 53a5cbb47608adcdf574960b26eec8c3039df244 (diff) | |
download | evas_generic_loaders-17d6bed1b84dd0540f7693184110406c220233ae.tar.gz |
raw: Make sure to keep the correct sign
unsigned short * unsigned short = int, so for large image sizes the
calculation will be wrong.
Fixes CID 63746 and CID 63747
@fix
Diffstat (limited to 'src/bin/common/shmfile.h')
-rw-r--r-- | src/bin/common/shmfile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/common/shmfile.h b/src/bin/common/shmfile.h index b41c9cb..f70a8fd 100644 --- a/src/bin/common/shmfile.h +++ b/src/bin/common/shmfile.h @@ -10,7 +10,7 @@ extern int shm_size; extern void *shm_addr; extern char *shmfile; -void shm_alloc (int dsize); +void shm_alloc (unsigned long dsize); void shm_free (void); #ifdef __cplusplus |