]> git.sur5r.net Git - openldap/commitdiff
Cast unsigned char *p to char *.
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 3 Jun 2003 17:51:38 +0000 (17:51 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 3 Jun 2003 17:51:38 +0000 (17:51 +0000)
libraries/liblber/io.c

index 65913a40961a39a14f39d6dce328e8f777b833ea..179940f24aa9634c6f87dd86cbc9f3622e9d5049 100644 (file)
@@ -587,7 +587,7 @@ ber_get_next(
                                tlen <<=8;
                                tlen |= *p++;
                        }
-                       ber->ber_ptr = p;
+                       ber->ber_ptr = (char *)p;
                } else {
                        tlen = *(unsigned char *)ber->ber_ptr++;
                }