cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] ssluse.c: Fixed compile error: conversion to 'int' from 'size_t'

From: Yang Tse <yangsita_at_gmail.com>
Date: Wed, 27 Jun 2012 19:08:45 +0200

Tatsuhiro Tsujikawa <tatsuhiro.t_at_gmail.com> wrote:

> The attached patch fixes the following compile error:
>
> ssluse.c: In function 'Curl_ossl_random':
> ssluse.c:2789:3: error: conversion to 'int' from 'size_t' may alter
> its value [-Werror=conversion]
> cc1: all warnings being treated as errors

I've fixed it diferently. Fix already pushed to repo.

Thanks,

-- 
-=[Yang]=-
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-27