diff options
Diffstat (limited to 'ipc/ipc_message_utils.h')
-rw-r--r-- | ipc/ipc_message_utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h index bac0a82..dc4a4be 100644 --- a/ipc/ipc_message_utils.h +++ b/ipc/ipc_message_utils.h @@ -228,7 +228,7 @@ template <> struct ParamTraits<long> { typedef long param_type; static void Write(Message* m, const param_type& p) { - m->WriteLong(p); + m->WriteLongUsingDangerousNonPortableLessPersistableForm(p); } static bool Read(const Message* m, PickleIterator* iter, param_type* r) { @@ -241,7 +241,7 @@ template <> struct ParamTraits<unsigned long> { typedef unsigned long param_type; static void Write(Message* m, const param_type& p) { - m->WriteLong(p); + m->WriteLongUsingDangerousNonPortableLessPersistableForm(p); } static bool Read(const Message* m, PickleIterator* iter, param_type* r) { |