Skip to content

Commit 3a100fd

Browse files
Suppress warning of converting int to size_t in listProxy.h
1 parent 434dfd5 commit 3a100fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pxr/usd/sdf/listProxy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class SdfListProxy {
4343

4444
/// Returned from \ref Find when a value could not be located in the
4545
/// list of operations.
46-
static const size_t invalidIndex = -1;
46+
static const size_t invalidIndex = size_t(-1);
4747

4848
private:
4949
// Proxies an item in a list editor list.

0 commit comments

Comments
 (0)