summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Thiago Macieira <thiago@macieira.org>2013-12-11 17:56:34 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-12 03:37:07 +0100
commit841bdf3462ded58266eb884efcbb043579995617 (patch)
treea78d1b96b546c748e8b8fa36adf9e68b3fa41238 /libdivecomputer.h
parent0a57befb690af54304fd5957f35071db33feb011 (diff)
downloadsubsurface-841bdf3462ded58266eb884efcbb043579995617.tar.gz
Make the streamsize variable actually int
Casting a pointer to a size_t variable to a pointer to int is wrong on big endian machines. Not that I expect anyone to compile Subsurface 4 for Mac on PowerPC 64-bit, but just in case... Who knows, we may have some Solaris-on-UltraSPARC or AIX-on-POWER6 users. Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.h')
0 files changed, 0 insertions, 0 deletions