summaryrefslogtreecommitdiff
path: root/graphics/lcms/patches/patch-ab
blob: a39bf799387b60e1d832164fd06fb08a334171bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.2 2002/03/15 03:58:45 markd 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;
+       uint64_t l = (uint64_t) a * b + (uint64_t)0x8000;
        return (Fixed32) (l >> 16);