summaryrefslogtreecommitdiff
path: root/lib/warnless.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-12-01 23:33:43 +0100
committerYang Tse <yangsita@gmail.com>2010-12-01 23:33:43 +0100
commit7e3f0bffe5d930489db80e1d65c27fe44a51f6f4 (patch)
tree77c1c1161573e324846c8ee46857810613e4dde0 /lib/warnless.h
parent5d47bf377668846d915c3d8a3f22cfdf66041512 (diff)
downloadcurl-7e3f0bffe5d930489db80e1d65c27fe44a51f6f4.tar.gz
fix compiler warning: conversion may lose significant bits
Diffstat (limited to 'lib/warnless.h')
-rw-r--r--lib/warnless.h6
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 */