Skip to content

Commit 0d198ef

Browse files
authored
Fix compiler warning about signed/unsigned (#1165)
Signed-off-by: Larry Gritz <[email protected]>
1 parent 7547a89 commit 0d198ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liboslexec/pointcloud.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ RendererServices::pointcloud_get (ShaderGlobals *sg,
376376
(const Partio::ParticleIndex *)indices, true, (void*)strindices);
377377
const auto& strings = cloud->indexedStrs(*attr);
378378
int sicount = int(strings.size());
379-
for (size_t i = 0; i < count; ++i) {
379+
for (int i = 0; i < count; ++i) {
380380
int ind = strindices[i];
381381
if (ind >= 0 && ind < sicount)
382382
((ustring *)out_data)[i] = ustring(strings[ind]);

0 commit comments

Comments
 (0)