summaryrefslogtreecommitdiff
path: root/audio/faad2/patches/patch-ad
blob: 4281f93f00be5a0feb5802fbf6a35649d17c5d8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ad,v 1.4 2009/08/10 00:01:56 tnn Exp $

--- libfaad/common.h.orig	2009-02-05 01:51:03.000000000 +0100
+++ libfaad/common.h
@@ -41,7 +41,7 @@ extern "C" {
 
 #include "neaacdec.h"
 
-#if 1
+#if 0
 #define INLINE __inline
 #else
 #define INLINE inline
@@ -330,7 +330,7 @@ char *strchr(), *strrchr();
     #ifndef HAVE_LRINTF
     #define HAS_LRINTF
     // from http://www.stereopsis.com/FPU.html
-    static INLINE int lrintf(float f)
+    static INLINE long int lrintf(float f)
     {
         int i;
         __asm__ __volatile__ (