Index: uspace/lib/uri/uri.c
===================================================================
--- uspace/lib/uri/uri.c	(revision 582a0b84b0a73672531e7b404a89997af41ba0b9)
+++ uspace/lib/uri/uri.c	(revision a0a9cc249adce31c755defdb6b74a991ebbf55ea)
@@ -143,5 +143,5 @@
  * @return EOK on success
  */
-int uri_scheme_parse(const char *str, const char **endptr)
+errno_t uri_scheme_parse(const char *str, const char **endptr)
 {
 	if (*str == 0) {
@@ -175,5 +175,5 @@
 }
 
-int uri_percent_parse(const char *str, const char **endptr,
+errno_t uri_percent_parse(const char *str, const char **endptr,
     uint8_t *decoded)
 {
@@ -186,5 +186,5 @@
 	
 	if (decoded != NULL) {
-		int rc = str_uint8_t(str + 1, NULL, 16, true, decoded);
+		errno_t rc = str_uint8_t(str + 1, NULL, 16, true, decoded);
 		if (rc != EOK)
 			return rc;
@@ -195,5 +195,5 @@
 }
 
-int uri_user_info_parse(const char *str, const char **endptr)
+errno_t uri_user_info_parse(const char *str, const char **endptr)
 {
 	while (*str != 0) {
@@ -201,5 +201,5 @@
 		if (*str == 0)
 			break;
-		int rc = uri_percent_parse(str, &str, NULL);
+		errno_t rc = uri_percent_parse(str, &str, NULL);
 		if (rc != EOK) {
 			*endptr = str;
@@ -220,5 +220,5 @@
 }
 
-int uri_port_parse(const char *str, const char **endptr)
+errno_t uri_port_parse(const char *str, const char **endptr)
 {
 	if (*str == 0)
