]> git.marmaro.de Git - mmh/commitdiff
Changed a variable to unsigned and noted an argument as unused to silence compile...
authorDavid Levine <levinedl@acm.org>
Sat, 28 Jan 2012 01:36:14 +0000 (19:36 -0600)
committerDavid Levine <levinedl@acm.org>
Sat, 28 Jan 2012 01:36:14 +0000 (19:36 -0600)
uip/popsbr.c

index 2d03efdc1a4bda5106354fc04251d863dcee66d6..fcdbd75e4ab978efd2b6d4b25c6858644d63492d 100644 (file)
@@ -343,6 +343,8 @@ sasl_get_user(void *context, int id, const char **result, unsigned *len)
 static int
 sasl_get_pass(sasl_conn_t *conn, void *context, int id, sasl_secret_t **psecret)
 {
+    NMH_UNUSED (conn);
+
     struct pass_context *p_context = (struct pass_context *) context;
     char *pass = NULL;
     int len;
@@ -893,7 +895,7 @@ static int
 sasl_fgetc(FILE *f)
 {
     static unsigned char *buffer = NULL, *ptr;
-    static int size = 0;
+    static unsigned int size = 0;
     static int cnt = 0;
     unsigned int retbufsize = 0;
     int cc, result;