Newer
Older
Import / applications / MakePDF / 3rdParty / libharu-with-PRs / pr-patches / 0001-Fix-config-constant-to-match-use-in-hpdf_mmgr.c.patch
@John John on 29 Dec 2020 784 bytes bulk import from macbookpro checkouts
From 835ff594a6fba3092deb8537066553a1aab9f3a6 Mon Sep 17 00:00:00 2001
From: Bruno Virlet <bvirlet@users.noreply.github.com>
Date: Thu, 30 Nov 2017 11:26:22 +0100
Subject: [PATCH] Fix config constant to match use in hpdf_mmgr.c

There was a mismatch between the HPDF_ALINMENT_SIZ used in hpdf_mmgr.c and the one defined in hpdf_conf.h
---
 include/hpdf_conf.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/hpdf_conf.h b/include/hpdf_conf.h
index d25b464..cee5259 100644
--- a/include/hpdf_conf.h
+++ b/include/hpdf_conf.h
@@ -78,8 +78,7 @@
 
 /* alignment size of memory-pool-object
  */
-#define HPDF_ALIGN_SIZ              sizeof int;
-
+#define HPDF_ALINMENT_SIZ              sizeof(int)
 
 #endif /* _HPDF_CONF_H */
 
-- 
2.21.1 (Apple Git-122.3)