diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2017-09-16 17:38:48 +0200 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2017-09-16 17:38:48 +0200 |
commit | 1bb770c9e1fa175b3c97f220c9b03ec94df8a759 (patch) | |
tree | 231de9505e67ed140793854d181ed295f3b91961 | |
parent | 441bd838b7e5a2b9d1e3db48ff200f052120ca88 (diff) | |
download | libgphoto2-1bb770c9e1fa175b3c97f220c9b03ec94df8a759.tar.gz |
remove truncation of integer
-rw-r--r-- | camlibs/ptp2/library.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index 6f7774203..0675453d4 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -6987,8 +6987,6 @@ put_file_func (CameraFilesystem *fs, const char *folder, const char *filename, */ gp_file_get_data_and_size (file, NULL, &intsize); oi.ObjectCompressedSize = intsize; - if (intsize > 0xffffffff) - intsize = 0xffffffff; if ((params->deviceinfo.VendorExtensionID==PTP_VENDOR_EASTMAN_KODAK) && (ptp_operation_issupported(params, PTP_OC_EK_SendFileObject))) { |