From 20f2ea061d783767937d0e6b3219476b7ac28a9e Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Tue, 20 May 2014 02:48:43 +0200 Subject: fix .kmz support on Windows; no idea why this int was unsigned Change-Id: I08fa1c3956b48bcd65edb74add010fafa17bfe82 --- external/collada2gltf/write-only-.dae-file-which-we-need.patch.0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'external') diff --git a/external/collada2gltf/write-only-.dae-file-which-we-need.patch.0 b/external/collada2gltf/write-only-.dae-file-which-we-need.patch.0 index 68980e2bb15f..56ff9099b9d3 100644 --- a/external/collada2gltf/write-only-.dae-file-which-we-need.patch.0 +++ b/external/collada2gltf/write-only-.dae-file-which-we-need.patch.0 @@ -74,7 +74,7 @@ index d193784..3b5bdfc 100644 + continue; - FILE *fp = fopen(strFilePath.c_str(),"wb"); -+ unsigned int pos = strlen(pFileName) - 1; ++ int pos = strlen(pFileName) - 1; + while (pos >= 0) { + if (pFileName[pos] == '\\' || pFileName[pos] == '/') + break; -- cgit