diff options
-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; |