Skip to content

Commit 6bb2210

Browse files
committed
does this fix gcc error?
Signed-off-by: Larry Gritz <[email protected]>
1 parent cd8cd72 commit 6bb2210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/OpenImageIO/typedesc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,8 @@ template<> struct BaseTypeFromC<unsigned short> { static const TypeDesc::BASETYP
399399
template<> struct BaseTypeFromC<short> { static const TypeDesc::BASETYPE value = TypeDesc::INT16; };
400400
template<> struct BaseTypeFromC<unsigned int> { static const TypeDesc::BASETYPE value = TypeDesc::UINT; };
401401
template<> struct BaseTypeFromC<int> { static const TypeDesc::BASETYPE value = TypeDesc::INT; };
402-
template<> struct BaseTypeFromC<unsigned long long> { static const TypeDesc::BASETYPE value = TypeDesc::UINT64; };
403-
template<> struct BaseTypeFromC<long long> { static const TypeDesc::BASETYPE value = TypeDesc::INT64; };
402+
template<> struct BaseTypeFromC<uint64_t> { static const TypeDesc::BASETYPE value = TypeDesc::UINT64; };
403+
template<> struct BaseTypeFromC<int64_t> { static const TypeDesc::BASETYPE value = TypeDesc::INT64; };
404404
#if defined(_HALF_H_) || defined(IMATH_HALF_H_)
405405
template<> struct BaseTypeFromC<half> { static const TypeDesc::BASETYPE value = TypeDesc::HALF; };
406406
#endif

0 commit comments

Comments
 (0)