diff options
author | Linus Nordberg <linus@nordu.net> | 2014-04-25 17:29:24 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2014-04-25 17:29:24 +0200 |
commit | 08ec422ab277f679265a6d52e518af7aa487904c (patch) | |
tree | 943331069dde0223778e2dbc54e4d635ab6f5bb3 /src | |
parent | 0ed59df3a437caaf70f97a03b792e06a6a3c306b (diff) |
Make field timestamp in record plop_data an integer.
It's an integer in the record and then we make it a binary when it's
time to serialise it.
Diffstat (limited to 'src')
-rw-r--r-- | src/plop.hrl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plop.hrl b/src/plop.hrl index 823e0aa..f142e46 100644 --- a/src/plop.hrl +++ b/src/plop.hrl @@ -19,7 +19,7 @@ -record(plop_data, { version = 1 :: integer(), % uint8 signature_type :: integer(), % uint8 - timestamp = now :: 'now' | binary(), % atom or uint64 + timestamp = now :: 'now' | integer(), % 'now' or uint64 entry :: plop_entry() }). -type plop_data() :: #plop_data{}. |