$NetBSD: patch-ac,v 1.6 2009/10/18 22:22:10 ahoka Exp $

--- libfaad2/common.h.orig	2009-07-26 19:53:00.000000000 +0000
+++ libfaad2/common.h
@@ -320,7 +320,7 @@ char *strchr(), *strrchr();
   #elif (defined(__i386__) && defined(__GNUC__)) && !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__ (
