Skip to content

Commit 52ba952

Browse files
committed
Merge pull request #145 from johnhaddon/sceneCacheMacBuildFix
Fixed SceneCache build problem on OS X.
2 parents 1d7fa98 + f322bf5 commit 52ba952

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/IECore/SceneCache.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ class SceneCache::ReaderImplementation : public SceneCache::Implementation
862862
h.append( it->value() );
863863
h.append( '/' );
864864
}
865-
h.append(sample);
865+
h.append( (uint64_t)sample );
866866
return h;
867867
}
868868

@@ -906,7 +906,7 @@ class SceneCache::ReaderImplementation : public SceneCache::Implementation
906906
h.append( '/' );
907907
}
908908
h.append(name.value());
909-
h.append(sample);
909+
h.append( (uint64_t)sample );
910910
return h;
911911
}
912912

0 commit comments

Comments
 (0)