Skip to content

Commit

Permalink
[fix] change uint to unsigned int (#101)
Browse files Browse the repository at this point in the history
`uint` is not always a typedef
  • Loading branch information
xiegx94 authored Jan 17, 2025
1 parent 91f84fc commit 033a654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sonic/dom/genericnode.h
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ class GenericNode {
return std::numeric_limits<int64_t>::max();
}
sonic_force_inline uint64_t getUintMax() const {
return std::numeric_limits<uint>::max();
return std::numeric_limits<unsigned int>::max();
}

private:
Expand Down

0 comments on commit 033a654

Please # to comment.