Commit 8db0cb2
committed
[gf] Remove C4018 warnings from GfNumericCast
boolean types are considered (unsigned) integral types.
Using boolean types with GfNumericCast would implicitly cast to a signed
integer in GfIntegerCompareLess, causing Windows to issue C4018 warnings
boolean types are now explicitly handled in GfNumericCast1 parent 43b8c71 commit 8db0cb2
1 file changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
89 | 107 | | |
90 | | - | |
91 | | - | |
| 108 | + | |
| 109 | + | |
92 | 110 | | |
93 | 111 | | |
94 | 112 | | |
| |||
0 commit comments