Skip to content

Commit c8dabc4

Browse files
committed
fix(jsonFromIOComponentEnum): add missing LONG and ULONG entries
1 parent 0e65448 commit c8dabc4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/itkjsonFromIOComponentEnum.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ jsonComponentTypeFromIOComponentEnum(const IOComponentEnum & ioComponent)
8787
return JSONComponentTypesEnum::uint32;
8888
case IOComponentEnum::INT:
8989
return JSONComponentTypesEnum::int32;
90+
case IOComponentEnum::ULONG:
91+
return JSONComponentTypesEnum::uint64;
92+
case IOComponentEnum::LONG:
93+
return JSONComponentTypesEnum::int64;
9094
case IOComponentEnum::ULONGLONG:
9195
return JSONComponentTypesEnum::uint64;
9296
case IOComponentEnum::LONGLONG:

0 commit comments

Comments
 (0)