]> git.tdb.fi Git - libs/gl.git/blobdiff - source/resources/resource.h
Use standard fixed-size integer types
[libs/gl.git] / source / resources / resource.h
index 571d1ea56c54e61ab10c43ef0f10cce766f19bb3..4efc082116eefcde6a1b3035b4ee354eea97f3a6 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef MSP_GL_RESOURCE_H_
 #define MSP_GL_RESOURCE_H_
 
-#include <msp/core/inttypes.h>
+#include <cstdint>
 #include <msp/io/seekable.h>
 
 namespace Msp {
@@ -41,7 +41,7 @@ public:
 
        /** Returns the amount of graphics memory used by this resource.  The
        returned value must not change while the resource is loaded. */
-       virtual UInt64 get_data_size() const = 0;
+       virtual std::uint64_t get_data_size() const = 0;
 
        virtual void unload() = 0;
 };