Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nslcd/common.c2
-rw-r--r--nslcd/common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/common.c b/nslcd/common.c
index 9b3a3f9..60be777 100644
--- a/nslcd/common.c
+++ b/nslcd/common.c
@@ -327,7 +327,7 @@ char *sid2search(const char *sid)
}
/* return the last security identifier of the binary sid */
-long int binsid2id(const char *binsid)
+unsigned long int binsid2id(const char *binsid)
{
int i;
/* find the position of the last security id */
diff --git a/nslcd/common.h b/nslcd/common.h
index 5ca06c1..ffa07ba 100644
--- a/nslcd/common.h
+++ b/nslcd/common.h
@@ -104,7 +104,7 @@ int read_address(TFILE *fp, char *addr, int *addrlen, int *af);
MUST_USE char *sid2search(const char *sid);
/* return the last security identifier of the binary sid */
-MUST_USE long int binsid2id(const char *binsid);
+MUST_USE unsigned long int binsid2id(const char *binsid);
/* checks to see if the specified string is a valid user or group name */
MUST_USE int isvalidname(const char *name);