cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Marc Hoersken <info_at_marc-hoersken.de>
Date: Wed, 27 Jun 2012 19:28:43 +0200

Hi Yang,

2012/6/27 Yang Tse <yangsita_at_gmail.com>
> I've fixed it diferently. Fix already pushed to repo.

could you apply the same fix to the following warnings, please?

goto problem 2
../.././lib/nss.c:1541: warning: conversion to 'int' from 'size_t' may
alter its value
../.././lib/nss.c: In function 'Curl_nss_md5sum':
goto problem 3
../.././lib/nss.c:1551: warning: conversion to 'unsigned int' from
'size_t' may alter its value
goto problem 4
../.././lib/nss.c:1552: warning: conversion to 'unsigned int' from
'size_t' may alter its value

goto problem 5
../../.././tests/libtest/lib582.c:179: warning: conversion to 'int'
from 'long int' may alter its value

http://curl.haxx.se/dev/log.cgi?id=20120627154557-28454

Thanks in advance!

Best regards,
Marc
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-27