Commit ea200d9b authored by Lev Walkin's avatar Lev Walkin Committed by GitHub

Merge pull request #155 from johvik/master

Add const to strings in skeletons/
parents 1d84ea98 5f619fb2
......@@ -72,7 +72,7 @@ BIT_STRING_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
return 0;
}
static char *_bit_pattern[16] = {
static const char *_bit_pattern[16] = {
"0000", "0001", "0010", "0011", "0100", "0101", "0110", "0111",
"1000", "1001", "1010", "1011", "1100", "1101", "1110", "1111"
};
......
......@@ -74,7 +74,7 @@ ber_tlv_tag_fwrite(ber_tlv_tag_t tag, FILE *f) {
ssize_t
ber_tlv_tag_snprint(ber_tlv_tag_t tag, char *buf, size_t size) {
char *type = 0;
const char *type = 0;
int ret;
switch(tag & 0x3) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment