Commit a6a8cec
Coding - Cast RWGltf_GltfRootElement to int for array size/subscript
macOS Clang reports value-not-implicitly-convertible-to-unsigned-long
for the static THE_ROOT_NAMES array size and the return subscript;
wrap the enum class value with static_cast<int>() at three sites
(RWGltf_GltfRootElement.hxx array declaration and subscript,
RWGltf_GltfJsonParser.hxx member array size).
The secondary ParseStream errors in RWGltf_CafReader are a downstream
instantiation failure that resolves once the parser header compiles.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a3f6ec3 commit a6a8cec
2 files changed
Lines changed: 5 additions & 4 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
526 | | - | |
| 525 | + | |
| 526 | + | |
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
0 commit comments