summaryrefslogtreecommitdiff
path: root/external/collada2gltf
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-05-20 02:48:43 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-05-20 02:49:37 +0200
commit20f2ea061d783767937d0e6b3219476b7ac28a9e (patch)
tree6d33065a46200b8de97b88597de030c016374830 /external/collada2gltf
parent04232e0171e1f5cd67e90424753a27a78968500e (diff)
fix .kmz support on Windows; no idea why this int was unsigned
Change-Id: I08fa1c3956b48bcd65edb74add010fafa17bfe82
Diffstat (limited to 'external/collada2gltf')
-rw-r--r--external/collada2gltf/write-only-.dae-file-which-we-need.patch.02
1 files changed, 1 insertions, 1 deletions
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;