Skip to content

Commit

Permalink
fix some warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mei-rune committed Jul 6, 2014
1 parent f19e693 commit 4c34e0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion asn1.c
Expand Up @@ -194,7 +194,7 @@ asn_put_temp_header(asn_buf_t *b, u_char type, u_char **ptr)
*ptr = b->asn_ptr;
if ((ret = asn_put_header(b, type, ASN_MAXLEN)) == ASN_ERR_OK)
if(b->asn_ptr != *ptr + TEMP_LEN) {
printf("%s - %d - %d\n", "sssssssssssssssssssssssssssssssssssssss - asn_put_temp_header", (size_t)b->asn_ptr, (size_t)(*ptr + TEMP_LEN));
printf("%s - %z - %z\n", "sssssssssssssssssssssssssssssssssssssss - asn_put_temp_header", (size_t)b->asn_ptr, (size_t)(*ptr + TEMP_LEN));
return (ASN_ERR_EOBUF);
}
return (ret);
Expand Down
1 change: 1 addition & 0 deletions gobindings.c
Expand Up @@ -3,6 +3,7 @@
#include <sys/types.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <inttypes.h>
#include "bsnmp/gobindings.h"
#include "bsnmp/asn1.h"
Expand Down

0 comments on commit 4c34e0e

Please sign in to comment.