commit | 56b24f4c33d2dc093922945319da02c7cbdadd2b | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Tue Aug 16 20:58:12 2005 +0000 |
committer | hasso <hasso> | Tue Aug 16 20:58:12 2005 +0000 |
tree | c04bb9cc0ecaffd0b03fb8b9a3044b62a1b6037b | |
parent | 7d7d0f3848283fea7efd6cfeddcfa588c229fb3a [diff] [blame] |
* isis_misc.[ch]: Fix some warnings, making some strings const.
diff --git a/isisd/isis_misc.c b/isisd/isis_misc.c index 300f02c..a56856e 100644 --- a/isisd/isis_misc.c +++ b/isisd/isis_misc.c
@@ -162,10 +162,10 @@ * conversion of XXXX.XXXX.XXXX to memory */ int -sysid2buff (u_char * buff, u_char * dotted) +sysid2buff (u_char * buff, const u_char * dotted) { int len = 0; - u_char *pos = dotted; + const u_char *pos = dotted; u_char number[3]; number[2] = '\0';