diff --git a/jtag/ChangeLog b/jtag/ChangeLog index bbbaa6a7..4d13d494 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -7,6 +7,8 @@ * src/tap/detect.c (detect_parts): Use the PRIX64 format string for 64bit types with printf(). + * src/part/part.c (part_print): Use const markings with const strings. + 2009-01-19 Kolja Waschk * doc/UrJTAG.txt, diff --git a/jtag/src/part/part.c b/jtag/src/part/part.c index dfe065df..ab7b5cba 100644 --- a/jtag/src/part/part.c +++ b/jtag/src/part/part.c @@ -235,8 +235,8 @@ part_get_signal( part_t *p, signal_t *s ) void part_print( part_t *p ) { - char *instruction = NULL; - char *dr = NULL; + const char *instruction = NULL; + const char *dr = NULL; char format[100]; if (!p)