Commit 68ab8df3 authored by captainwong's avatar captainwong

fix

parent 9618f770
...@@ -665,7 +665,7 @@ public: ...@@ -665,7 +665,7 @@ public:
void setAcct(size_t acct) { void setAcct(size_t acct) {
data_.resize(8); data_[0] = '#'; data_.resize(8); data_[0] = '#';
snprintf(&data_[1], 7, "%06d", static_cast<int>(acct % 1000000)); snprintf(&data_[1], 7, "%06X", static_cast<int>(acct % 1000000));
} }
void setAcct(const std::string& acct) { void setAcct(const std::string& acct) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment