From 08ec422ab277f679265a6d52e518af7aa487904c Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 25 Apr 2014 17:29:24 +0200 Subject: 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. --- src/plop.hrl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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{}. -- cgit v1.1