Fix more signed/unsigned warnings
This commit is contained in:
parent
4686735f00
commit
3a7f99643d
@ -436,8 +436,8 @@ void VoxelGraphRuntime::generate_set(ArraySlice<float> in_x, ArraySlice<float> i
|
||||
buffer.size = buffer_size;
|
||||
|
||||
if (buffer.is_constant) {
|
||||
for (auto i = 0; i < buffer_size; ++i) {
|
||||
buffer.data[i] = buffer.constant_value;
|
||||
for (unsigned int j = 0; j < buffer_size; ++j) {
|
||||
buffer.data[j] = buffer.constant_value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -192,7 +192,7 @@ private:
|
||||
std::vector<uint8_t> _program;
|
||||
std::vector<Interval> _ranges;
|
||||
std::vector<Buffer> _buffers;
|
||||
int _buffer_size = 0;
|
||||
unsigned int _buffer_size = 0;
|
||||
|
||||
std::vector<HeapResource> _heap_resources;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user