Mariano Alvira <mar@devl.org> fixes warning as error about a signed vs. unsigned comparison by casting the local unsigned variable as (long long).

git-svn-id: svn://svn.berlios.de/openocd/trunk@1600 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
oharboe 2009-05-04 11:03:40 +00:00
parent 53b7ce5b22
commit 1f378efbf0
1 changed files with 1 additions and 1 deletions

View File

@ -783,7 +783,7 @@ int handle_sleep_command(struct command_context_s *cmd_ctx, char *cmd, char **ar
} else } else
{ {
long long then=timeval_ms(); long long then=timeval_ms();
while ((timeval_ms()-then)<duration) while ((timeval_ms()-then)<(long long)duration)
{ {
target_call_timer_callbacks_now(); target_call_timer_callbacks_now();
usleep(1000); usleep(1000);