On Sun, Jul 03, 2011 at 04:27:57PM +0300, Rami Vaknin wrote:
> From: root <root@fed15.localdomain>
> 

ACK. I'll push this.

> Compiling with gcc-c++-4.6.0-9.fc15.i686 on Fedora 15
> ---
>  server/main_channel.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/server/main_channel.c b/server/main_channel.c
> index 1a6a89c..c7a70d7 100644
> --- a/server/main_channel.c
> +++ b/server/main_channel.c
> @@ -733,12 +733,12 @@ static int main_channel_handle_parsed(RedChannel 
> *channel, uint32_t size, uint16
>                  if (roundtrip <= latency) {
>                      // probably high load on client or server result with 
> incorrect values
>                      latency = 0;
> -                    red_printf("net test: invalid values, latency %lu 
> roundtrip %lu. assuming high"
> +                    red_printf("net test: invalid values, latency %llu 
> roundtrip %llu. assuming high"
>                                 "bandwidth", latency, roundtrip);
>                      break;
>                  }
>                  bitrate_per_sec = (uint64_t)(NET_TEST_BYTES * 8) * 1000000 / 
> (roundtrip - latency);
> -                red_printf("net test: latency %f ms, bitrate %lu bps (%f 
> Mbps)%s",
> +                red_printf("net test: latency %f ms, bitrate %llu bps (%f 
> Mbps)%s",
>                             (double)latency / 1000,
>                             bitrate_per_sec,
>                             (double)bitrate_per_sec / 1024 / 1024,
> -- 
> 1.7.5.4
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to