summaryrefslogtreecommitdiff
path: root/pkg/api/handlers
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-05-26 17:01:10 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-05-27 09:52:36 -0400
commitf8632bad82629d5a918fbb163d67ef8bca96724f (patch)
tree1b129a531ff203dbb0d142ad4d9600594f79714b /pkg/api/handlers
parent9cb5c87284377507aafae8456ee8f00823954712 (diff)
downloadpodman-f8632bad82629d5a918fbb163d67ef8bca96724f.tar.gz
podman-f8632bad82629d5a918fbb163d67ef8bca96724f.tar.bz2
podman-f8632bad82629d5a918fbb163d67ef8bca96724f.zip
Fix builds on 32 bit arches
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/api/handlers')
-rw-r--r--pkg/api/handlers/compat/networks.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/networks.go b/pkg/api/handlers/compat/networks.go
index ceeae30fb..c52ca093f 100644
--- a/pkg/api/handlers/compat/networks.go
+++ b/pkg/api/handlers/compat/networks.go
@@ -123,7 +123,7 @@ func getNetworkResourceByName(name string, runtime *libpod.Runtime) (*types.Netw
report := types.NetworkResource{
Name: name,
ID: "",
- Created: time.Unix(stat.Ctim.Sec, stat.Ctim.Nsec),
+ Created: time.Unix(int64(stat.Ctim.Sec), int64(stat.Ctim.Nsec)), // nolint: unconvert
Scope: "",
Driver: network.DefaultNetworkDriver,
EnableIPv6: false,