Fixed small warning.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 3 Jun 2007 22:30:08 +0000 (22:30 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 3 Jun 2007 22:30:08 +0000 (22:30 +0000)
modules/control/http/http.c

index f1b3416..a20ce8f 100644 (file)
@@ -517,9 +517,9 @@ static void ParseExecute( httpd_file_sys_t *p_args, char *p_buffer,
         var_Get( p_sys->p_input, "position", &val);
         sprintf( position, "%d" , (int)((val.f_float) * 100.0));
         var_Get( p_sys->p_input, "time", &val);
-        sprintf( time, I64Fi, val.i_time / 1000000LL );
+        sprintf( time, I64Fi, (int64_t)val.i_time / I64C(1000000) );
         var_Get( p_sys->p_input, "length", &val);
-        sprintf( length, I64Fi, val.i_time / 1000000LL );
+        sprintf( length, I64Fi, (int64_t)val.i_time / I64C(1000000) );
 
         var_Get( p_sys->p_input, "state", &val );
         if( val.i_int == PLAYING_S )