mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 13:06:13 +01:00
Use size_t instead of unsigned int in Graphics
Also use sfUint64 for sampleCount in sfSoundBuffer_createFromSamples
This commit is contained in:
1 parent
1486a30e2f
commit
4720e109b6
17 files changed
+46
-39
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user