[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    From the remove warnings depth
From:       Arnold Krille <kde () arnoldarts ! de>
Date:       2003-12-10 15:31:08
[Download RAW message or body]

[" " (multipart/signed)]


Me again,

the attached patch removes some warnings from 
kde-multimedia/audiofile_artsplugin.

Is it okay to commit it or should I wait till after the freeze as this isn't a 
crash?

Arnold

-- 
Get my public-key from pgp.mit.edu or pgp.uni-mainz.de

[Attachment #5 (application/pgp-signature)]
["audiofileArtsPlugin.diff" (text/x-diff)]

Index: audiofilePlayObjectI.cpp
===================================================================
RCS file: /home/kde/kdemultimedia/audiofile_artsplugin/audiofilePlayObjectI.cpp,v
retrieving revision 1.8
diff -u -p -r1.8 audiofilePlayObjectI.cpp
--- audiofilePlayObjectI.cpp	24 Oct 2003 00:14:59 -0000	1.8
+++ audiofilePlayObjectI.cpp	10 Dec 2003 15:28:05 -0000
@@ -222,8 +222,8 @@ poTime audiofilePlayObjectI::currentTime
 
   return poTime
     (
-      timesec,
-      timems,
+      int(timesec),
+      int(timems),
       offset,
       "samples"
     );
@@ -239,7 +239,7 @@ poTime audiofilePlayObjectI::overallTime
   float timesec = offset / (float)samplingRate;
   float timems = (timesec - floor(timesec)) * 1000.0;
 
-  return poTime(timesec, timems, offset, "samples");
+  return poTime(int(timesec), int(timems), offset, "samples");
 }
 
 void audiofilePlayObjectI::seek(const poTime &time)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic