Skip to content

Commit

Permalink
Fix unsiggned typo introduced in commit 7c48946 (iovisor#1933)
Browse files Browse the repository at this point in the history
Fix unsiggned typo introduced in tp_frontend_action.cc
  • Loading branch information
myllynen authored and yonghong-song committed Aug 17, 2018
1 parent 3835b2d commit 45b6bab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cc/frontends/clang/tp_frontend_action.cc
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@ static inline field_kind_t _get_field_kind(string const& line,
if (field_type == "char" || field_type == "short" ||
field_type == "int8_t" || field_type == "int16_t")
field_type = "s32";
if (field_type == "unsigned char" || field_type == "unsiggned short" ||
if (field_type == "unsigned char" || field_type == "unsigned short" ||
field_type == "uint8_t" || field_type == "uint16_t")
field_type = "u32";
} else if (size == 8) {
if (field_type == "char" || field_type == "short" || field_type == "int" ||
field_type == "int8_t" || field_type == "int16_t" ||
field_type == "int32_t")
field_type = "s64";
if (field_type == "unsigned char" || field_type == "unsiggned short" ||
if (field_type == "unsigned char" || field_type == "unsigned short" ||
field_type == "unsigned int" || field_type == "uint8_t" ||
field_type == "uint16_t" || field_type == "uint32_t")
field_type = "u64";
Expand Down

0 comments on commit 45b6bab

Please sign in to comment.