Rev 1657 | Rev 1914 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1657 | Rev 1684 | ||
|---|---|---|---|
| Line 47... | Line 47... | ||
| 47 | 47 | ||
| 48 | } |
48 | } |
| 49 | 49 | ||
| 50 | unsigned int FromHex(std::string hex_chars) |
50 | unsigned int FromHex(std::string hex_chars) |
| 51 | { |
51 | { |
| 52 | return static_cast<unsigned int>( |
52 | return static_cast<unsigned int>(strtoll(hex_chars.data(), NULL, 16)); |
| 53 | } |
53 | } |
| 54 | 54 | ||
| 55 | }; // namespace type |
55 | }; // namespace type |
| 56 | }; // namespace atom |
56 | }; // namespace atom |