From 9fea88dc3e4dc59b6dd56de5c282f1abbb37e921 Mon Sep 17 00:00:00 2001 From: Guillaume Outters Date: Sun, 30 Mar 2025 06:26:49 +0200 Subject: [PATCH] Correctly detect that timezone is not an int --- libqpdf/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libqpdf/CMakeLists.txt b/libqpdf/CMakeLists.txt index d351a0c..a00a343 100644 --- a/libqpdf/CMakeLists.txt +++ b/libqpdf/CMakeLists.txt @@ -328,7 +328,7 @@ check_c_source_compiles( #include int main(int argc, char* argv[]) { tzset(); - printf(\"%ld\", timezone); + printf(\"%ld\", timezone / 60); return 0; }" HAVE_EXTERN_LONG_TIMEZONE) -- libgit2 0.21.4