Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stoecker committed Sep 19, 2024
1 parent 57d9c4b commit 5026c56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 5026c56

Please sign in to comment.