mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Data::getSize now uses size_t instead of int
This commit is contained in:
+4
-1
@@ -25,6 +25,9 @@
|
||||
#include "config.h"
|
||||
#include "Object.h"
|
||||
|
||||
// C
|
||||
#include <stddef.h>
|
||||
|
||||
namespace love
|
||||
{
|
||||
|
||||
@@ -49,7 +52,7 @@ public:
|
||||
/**
|
||||
* Gets the size of the Data in bytes.
|
||||
**/
|
||||
virtual int getSize() const = 0;
|
||||
virtual size_t getSize() const = 0;
|
||||
|
||||
}; // Data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user