jonseq
04-20-2003, 01:59 PM
patch of my patch (left out a return statement - oops!):
Submitted patch:
http://sourceforge.net/tracker/index.php?func=detail&aid=724722&group_id=10131&atid=310131
Index: src/player.cpp
================================================== =================
RCS file: /cvsroot/seq/showeq/src/player.cpp,v
retrieving revision 1.34
diff -c -r1.34 player.cpp
*** src/player.cpp 19 Apr 2003 03:23:03 -0000 1.34
--- src/player.cpp 20 Apr 2003 19:46:30 -0000
***************
*** 18,24 ****
#ifdef __FreeBSD__
long int lrint(double x)
{
! long int l=(x+.5);
}
long int lrintf(float x)
--- 18,25 ----
#ifdef __FreeBSD__
long int lrint(double x)
{
! long int l=(long int)(x+.5);
! return l;
}
long int lrintf(float x)
Submitted patch:
http://sourceforge.net/tracker/index.php?func=detail&aid=724722&group_id=10131&atid=310131
Index: src/player.cpp
================================================== =================
RCS file: /cvsroot/seq/showeq/src/player.cpp,v
retrieving revision 1.34
diff -c -r1.34 player.cpp
*** src/player.cpp 19 Apr 2003 03:23:03 -0000 1.34
--- src/player.cpp 20 Apr 2003 19:46:30 -0000
***************
*** 18,24 ****
#ifdef __FreeBSD__
long int lrint(double x)
{
! long int l=(x+.5);
}
long int lrintf(float x)
--- 18,25 ----
#ifdef __FreeBSD__
long int lrint(double x)
{
! long int l=(long int)(x+.5);
! return l;
}
long int lrintf(float x)