Index: /applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfWriter.java
===================================================================
--- /applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfWriter.java	(revision 36340)
+++ /applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfWriter.java	(revision 36341)
@@ -150,5 +150,5 @@
                         b.setUserSid(stable.getIndex(e.getUser().getName()));
                     }
-                    b.setTimestamp((int) (e.getInstant().toEpochMilli() / date_granularity));
+                    b.setTimestamp(e.getInstant().toEpochMilli() / date_granularity);
                     b.setVersion(e.getVersion());
                     b.setChangeset(e.getChangesetId());
