From cbe6c02685a630958ebc2897174b9f048ee6e7d9 Mon Sep 17 00:00:00 2001 From: poetic android Date: Wed, 13 Nov 2019 08:45:05 +0100 Subject: [PATCH] uint -> DWORD --- source/image_loader.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/image_loader.d b/source/image_loader.d index 6128c64..10fbeea 100644 --- a/source/image_loader.d +++ b/source/image_loader.d @@ -78,7 +78,7 @@ FIMEMORY* readfile(string filename) void writefile(string filename, FIMEMORY* mem) { ubyte* bin; - uint len; + DWORD len; FreeImage_AcquireMemory(mem, &bin, &len); auto f = File(filename, "wb"); for (uint i = 0; i < len; i++)