object size: int -> int64
diff --git a/openstack/objectstorage/v1/objects/requests.go b/openstack/objectstorage/v1/objects/requests.go
index 4ac1e03..cf1fbb4 100644
--- a/openstack/objectstorage/v1/objects/requests.go
+++ b/openstack/objectstorage/v1/objects/requests.go
@@ -146,7 +146,7 @@
Metadata map[string]string
ContentDisposition string `h:"Content-Disposition"`
ContentEncoding string `h:"Content-Encoding"`
- ContentLength int `h:"Content-Length"`
+ ContentLength int64 `h:"Content-Length"`
ContentType string `h:"Content-Type"`
CopyFrom string `h:"X-Copy-From"`
DeleteAfter int `h:"X-Delete-After"`
diff --git a/openstack/objectstorage/v1/objects/results.go b/openstack/objectstorage/v1/objects/results.go
index 102d94c..bbbdbd0 100644
--- a/openstack/objectstorage/v1/objects/results.go
+++ b/openstack/objectstorage/v1/objects/results.go
@@ -14,7 +14,7 @@
// Object is a structure that holds information related to a storage object.
type Object struct {
- Bytes int `json:"bytes" mapstructure:"bytes"`
+ Bytes int64 `json:"bytes" mapstructure:"bytes"`
ContentType string `json:"content_type" mapstructure:"content_type"`
Hash string `json:"hash" mapstructure:"hash"`
LastModified string `json:"last_modified" mapstructure:"last_modified"`