fixed build test sscanf() arg order
This commit is contained in:
1 parent
9055f591f9
commit
dfbd319329
1 file changed
+2
-2
+2
-2
@@ -17,12 +17,12 @@ ${
|
||||
uint64_t value;
|
||||
$}
|
||||
%{
|
||||
sscanf("%lld", matches[1].c_str(), &value);
|
||||
sscanf(matches[0].c_str(), "%lld", &value);
|
||||
cout << "value: " << value << endl;
|
||||
%}
|
||||
|
||||
HEX_INT 0x([0-9a-fA-F]+)\b ${ uint64_t value; $} %{
|
||||
sscanf("%llx", matches[1].c_str(), &value);
|
||||
sscanf(matches[1].c_str(), "%llx", &value);
|
||||
cout << "value: " << value << endl;
|
||||
%}
|
||||
|
||||
|
||||
Reference in new issue
Block a user