|
From: oharboe at B. <oh...@ma...> - 2009-05-04 13:03:44
|
Author: oharboe
Date: 2009-05-04 13:03:40 +0200 (Mon, 04 May 2009)
New Revision: 1600
Modified:
trunk/src/helper/command.c
Log:
Mariano Alvira <ma...@de...> fixes warning as error about a signed vs. unsigned comparison by casting the local unsigned variable as (long long).
Modified: trunk/src/helper/command.c
===================================================================
--- trunk/src/helper/command.c 2009-05-04 06:22:49 UTC (rev 1599)
+++ trunk/src/helper/command.c 2009-05-04 11:03:40 UTC (rev 1600)
@@ -783,7 +783,7 @@
} else
{
long long then=timeval_ms();
- while ((timeval_ms()-then)<duration)
+ while ((timeval_ms()-then)<(long long)duration)
{
target_call_timer_callbacks_now();
usleep(1000);
|