diff options
author | Yang Tse <yangsita@gmail.com> | 2010-12-01 23:33:43 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-12-01 23:33:43 +0100 |
commit | 7e3f0bffe5d930489db80e1d65c27fe44a51f6f4 (patch) | |
tree | 77c1c1161573e324846c8ee46857810613e4dde0 /lib/warnless.h | |
parent | 5d47bf377668846d915c3d8a3f22cfdf66041512 (diff) | |
download | curl-7e3f0bffe5d930489db80e1d65c27fe44a51f6f4.tar.gz |
fix compiler warning: conversion may lose significant bits
Diffstat (limited to 'lib/warnless.h')
-rw-r--r-- | lib/warnless.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/warnless.h b/lib/warnless.h index ac654fbc5..ed692d8cd 100644 --- a/lib/warnless.h +++ b/lib/warnless.h @@ -28,4 +28,10 @@ unsigned char curlx_ultouc(unsigned long ulnum); int curlx_uztosi(size_t uznum); +int curlx_sltosi(long slnum); + +unsigned int curlx_sltoui(long slnum); + +unsigned short curlx_sltous(long slnum); + #endif /* HEADER_CURL_WARNLESS_H */ |