Use size_t instead of unsigned int in Graphics

Also use sfUint64 for sampleCount in sfSoundBuffer_createFromSamples
This commit is contained in:
Alexandre Bury committed 2015-05-01 13:20:43 -07:00
1 parent 1486a30e2f
commit 4720e109b6
17 files changed
+46 -39

No files matched your search

+2 -2
View File
@@ -267,14 +267,14 @@ float sfShape_getOutlineThickness(const sfShape* shape)
////////////////////////////////////////////////////////////
unsigned int sfShape_getPointCount(const sfShape* shape)
size_t sfShape_getPointCount(const sfShape* shape)
{
CSFML_CALL_RETURN(shape, getPointCount(), 0);
}
////////////////////////////////////////////////////////////
sfVector2f sfShape_getPoint(const sfShape* shape, unsigned int index)
sfVector2f sfShape_getPoint(const sfShape* shape, size_t index)
{
sfVector2f point = {0, 0};
CSFML_CHECK_RETURN(shape, point);