/* dtest.c - lber decoding test program */
+/* $OpenLDAP$ */
/*
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
char *s;
int rc;
- unsigned long tag, len;
+ ber_tag_t tag;
+ ber_len_t len;
BerElement *ber;
Sockbuf *sb;
}
printf("decode: message tag 0x%lx and length %ld\n",
- tag, len );
+ (unsigned long) tag, (long) len );
for( s = argv[1]; *s; s++ ) {
char buf[128];