diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-05-20 02:48:43 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-05-20 02:49:37 +0200 |
commit | 20f2ea061d783767937d0e6b3219476b7ac28a9e (patch) | |
tree | 6d33065a46200b8de97b88597de030c016374830 /external/collada2gltf | |
parent | 04232e0171e1f5cd67e90424753a27a78968500e (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.0 | 2 |
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; |