13 lines
468 B
Text
13 lines
468 B
Text
$NetBSD: patch-ac,v 1.2 2010/09/11 13:29:40 cheusov 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__ (
|