summaryrefslogtreecommitdiff
path: root/Build/source/texk/ps2pkm/util.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-07-17 16:08:25 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-07-17 16:08:25 +0000
commitf9f170e6483ce11f02a97e26b1ccf0a3e8cb9bfc (patch)
treeaef406659c131b665910c2bb48e0ccb132de5610 /Build/source/texk/ps2pkm/util.c
parent3d92be8e488983918d91c10fc014881310317265 (diff)
various small fixes for 64Bit systems
texk/dvipsk: add casts to avoid compiler warnings texk/gsftopk: add casts to avoid compiler warnings texk/ps2pkm: import changes from libs/t1lib texk/ttfdump: add casts to avoid compiler warnings texk/dviljk: add casts for printing and proper format specs for scanf to avoid compiler warnings and potential bugs git-svn-id: svn://tug.org/texlive/trunk@14299 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ps2pkm/util.c')
-rw-r--r--Build/source/texk/ps2pkm/util.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Build/source/texk/ps2pkm/util.c b/Build/source/texk/ps2pkm/util.c
index 21fb13b43a9..81afafb9516 100644
--- a/Build/source/texk/ps2pkm/util.c
+++ b/Build/source/texk/ps2pkm/util.c
@@ -66,12 +66,8 @@ char *vm_alloc(bytes)
{
char *answer;
- /* Round to next LONG multiple (32-bit) */
-#if defined(sun) || defined(__hpux) || defined(__alpha)
+ /* Align returned bytes to 64-bit boundary */
bytes = (bytes + 7) & ~7;
-#else
- bytes = (bytes + 3) & ~3;
-#endif
/* take space from what is left otherwise allocate another CHUNK */
if (bytes > vm_free)