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

+1 -1
View File
@@ -475,7 +475,7 @@ void sfRenderWindow_drawVertexArray(sfRenderWindow* renderWindow, const sfVertex
////////////////////////////////////////////////////////////
void sfRenderWindow_drawPrimitives(sfRenderWindow* renderWindow,
const sfVertex* vertices, unsigned int vertexCount,
const sfVertex* vertices, size_t vertexCount,
sfPrimitiveType type, const sfRenderStates* states)
{
CSFML_CALL(renderWindow, draw(reinterpret_cast<const sf::Vertex*>(vertices), vertexCount,