diff options
author | José Fonseca <jose.r.fonseca@gmail.com> | 2012-03-17 16:12:22 +0000 |
---|---|---|
committer | José Fonseca <jose.r.fonseca@gmail.com> | 2012-03-17 16:12:22 +0000 |
commit | eba2deca7aa16097bdefabd039fbbbc02b3f5672 (patch) | |
tree | a4f4641a7ab9872396e78f781192850a9228814d /cli/cli_pickle.cpp | |
parent | dce95078ece1a3a08c290ddc6191cb92e15542d5 (diff) |
Pickle blobs as bytearrays.
Diffstat (limited to 'cli/cli_pickle.cpp')
-rw-r--r-- | cli/cli_pickle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/cli_pickle.cpp b/cli/cli_pickle.cpp index e3222dbb..9145f448 100644 --- a/cli/cli_pickle.cpp +++ b/cli/cli_pickle.cpp @@ -145,7 +145,7 @@ public: } void visit(Blob *node) { - writer.writeString((const char *)node->buf, node->size); + writer.writeByteArray(node->buf, node->size); } void visit(Pointer *node) { |