Finish off the last patch by converting back the other two uint64_t's

to u_int64_t's in the NetBSD case.
This commit is contained in:
markd 2002-03-15 11:12:57 +00:00
parent 85e59f5123
commit cebc0cbe36
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.4 2002/03/15 09:20:04 agc Exp $
$NetBSD: distinfo,v 1.5 2002/03/15 11:12:57 markd Exp $
SHA1 (lcms-1.06.tar.gz) = 3c9e99eb50598a0346c07fb1cacbf6cc4841001b
Size (lcms-1.06.tar.gz) = 644116 bytes
SHA1 (patch-aa) = 52102849563445b39eb8e504e9c6001af84bdbd5
SHA1 (patch-ab) = 1d20f39c33c1d2b68ac3e4d1dfa6b0a464eec120
SHA1 (patch-ab) = 1b1112ce3b412dde44d9daf367b5f3a7c6566b92

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ab,v 1.3 2002/03/15 09:20:06 agc Exp $
$NetBSD: patch-ab,v 1.4 2002/03/15 11:12:57 markd Exp $
--- source/cmsmtrx.c Thu May 18 18:08:13 2000
+++ source/cmsmtrx.c Mon Oct 30 09:53:39 2000
@ -17,7 +17,7 @@ $NetBSD: patch-ab,v 1.3 2002/03/15 09:20:06 agc Exp $
- __int64 l = (__int64) a * b + 0x8000i64;
+#include <sys/param.h>
+#if (defined(BSD) && BSD >= 199506)
+ u_int64_t l = (uint64_t) a * b + (uint64_t)0x8000;
+ u_int64_t l = (u_int64_t) a * b + (u_int64_t)0x8000;
+#else
+ uint64_t l = (uint64_t) a * b + (uint64_t)0x8000;
+#endif