Skip to content

Commit

Permalink
Fixed wrong parameter type
Browse files Browse the repository at this point in the history
C6330: 'char' passed as _Param_(1) when 'unsigned char'
is required in call to 'isspace'.
  • Loading branch information
javagl committed Sep 15, 2021
1 parent ea8acbc commit e998f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cesium3DTilesSelection/src/TileContentFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ TileContentFactory::createContent(const TileContentLoadInput& input) {
// Determine if this is plausibly a JSON external tileset.
size_t i;
for (i = 0; i < data.size(); ++i) {
if (!std::isspace(static_cast<char>(data[i]))) {
if (!std::isspace(static_cast<unsigned char>(data[i]))) {
break;
}
}
Expand Down

0 comments on commit e998f1f

Please sign in to comment.