projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
152a96f
)
Try to do the previous commit in a more compatible way.
v2.14.17
author
Carl Hetherington
<cth@carlh.net>
Mon, 2 Dec 2019 13:50:31 +0000
(13:50 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 2 Dec 2019 13:50:31 +0000
(13:50 +0000)
src/lib/cinema_kdms.cc
patch
|
blob
|
history
diff --git
a/src/lib/cinema_kdms.cc
b/src/lib/cinema_kdms.cc
index 158ce8179abc7aa5926c723a7332ff3182443df0..2d1f3e2730ffacffd1144b79e01fe987065fc36f 100644
(file)
--- a/
src/lib/cinema_kdms.cc
+++ b/
src/lib/cinema_kdms.cc
@@
-74,8
+74,10
@@
CinemaKDMs::make_zip_file (boost::filesystem::path zip_file, dcp::NameFormat nam
}
if (zip_close (zip) == -1) {
- zip_error_t* e = zip_get_error (zip);
- throw runtime_error (String::compose("failed to close ZIP archive (%1, %2)", zip_error_code_zip(e), zip_error_code_system(e)));
+ int zep;
+ int sep;
+ zip_error_get (zip, &zep, &sep);
+ throw runtime_error (String::compose("failed to close ZIP archive (%1, %2)", zep, sep));
}
}