aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/irrlicht/fix-osx-compilation.patch
blob: a1daf0b5c10c63bca492ab8fc7aaeb2fcfee6be5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/source/Irrlicht/CImageLoaderJPG.cpp b/source/Irrlicht/CImageLoaderJPG.cpp
index 404bd53..71684d8 100644
--- a/source/Irrlicht/CImageLoaderJPG.cpp
+++ b/source/Irrlicht/CImageLoaderJPG.cpp
@@ -68,7 +68,7 @@ void CImageLoaderJPG::init_source (j_decompress_ptr cinfo)
 boolean CImageLoaderJPG::fill_input_buffer (j_decompress_ptr cinfo)
 {
 	// DO NOTHING
-	return 1;
+	return TRUE;
 }