summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/cli_pickle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/cli_pickle.cpp b/cli/cli_pickle.cpp
index 6d368028..04aec1b2 100644
--- a/cli/cli_pickle.cpp
+++ b/cli/cli_pickle.cpp
@@ -98,7 +98,7 @@ public:
if (symbolic) {
unsigned long long value = node->value;
const BitmaskSig *sig = node->sig;
- writer.beginList();
+ writer.beginTuple();
for (const BitmaskFlag *it = sig->flags; it != sig->flags + sig->num_flags; ++it) {
if ((it->value && (value & it->value) == it->value) ||
(!it->value && value == 0)) {
@@ -112,7 +112,7 @@ public:
if (value) {
writer.writeInt(value);
}
- writer.endList();
+ writer.endTuple();
} else {
writer.writeInt(node->value);
}