[recipes] Fix a bug in the timer code



commit b4fede2d7fbb9c5ada204c929a79bebdb572a460
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 4 00:22:09 2017 +0100

    Fix a bug in the timer code
    
    We need to pass the duration as a 64bit integer all the way.

 src/gr-timer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-timer.c b/src/gr-timer.c
index 3bd0656..5512d45 100644
--- a/src/gr-timer.c
+++ b/src/gr-timer.c
@@ -152,7 +152,7 @@ set_active (GrTimer  *timer,
 
 static void
 set_duration (GrTimer *timer,
-              guint    duration)
+              guint64  duration)
 {
         timer->duration = duration;
         timer->remaining = duration;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]