75d0f54af1
From Nathan Ahlstrom <nrahlstr@winternet.com> in pkg/12342 with modifications from me.
17 lines
478 B
Text
17 lines
478 B
Text
$NetBSD: patch-ab,v 1.1.1.1 2001/03/07 08:22:52 skrll Exp $
|
|
|
|
--- source/cmsmtrx.c Thu May 18 18:08:13 2000
|
|
+++ source/cmsmtrx.c Mon Oct 30 09:53:39 2000
|
|
@@ -33,2 +33,3 @@
|
|
#include "lcms.h"
|
|
+#include <sys/types.h>
|
|
|
|
@@ -250,3 +251,3 @@
|
|
#ifdef USE_INT64
|
|
- __int64 l = (__int64) a * b + 0x8000i64;
|
|
+ u_int64_t l = (u_int64_t) a * b + (u_int64_t)0x8000;
|
|
return (Fixed32) (l >> 16);
|
|
@@ -711,2 +712,2 @@
|
|
VEC3scaleAndCut(&r -> v[2], &v -> v[2], d);
|
|
-}
|
|
+}
|