From 5026c5627f2cacfb2410505a869fd915211edf41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20St=C3=B6cker?= Date: Thu, 19 Sep 2024 16:42:53 +0000 Subject: [PATCH] fix warning git-svn-id: https://josm.openstreetmap.de/osmsvn/applications/editors/josm/plugins@36341 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4 --- pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfWriter.java b/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfWriter.java index 29bc59c27a..ba0852764f 100644 --- a/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfWriter.java +++ b/pbf/src/org/openstreetmap/josm/plugins/pbf/io/PbfWriter.java @@ -149,7 +149,7 @@ public Osmformat.Info.Builder serializeMetadata(OsmPrimitive e) { b.setUid((int) e.getUser().getId()); 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()); }