diff options
Diffstat (limited to 'epan/to_str.c')
-rw-r--r-- | epan/to_str.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/to_str.c b/epan/to_str.c index f24cde7d9f..6ccdd4bcbc 100644 --- a/epan/to_str.c +++ b/epan/to_str.c @@ -341,7 +341,7 @@ time_secs_to_str_buf(gint32 time, guint32 frac, gboolean is_nsecs, { static gchar *p; int hours, mins, secs; - gchar *msign = ""; + const gchar *msign = ""; gboolean do_comma = FALSE; if(time<0){ @@ -497,7 +497,7 @@ void display_signed_time(gchar *buf, int buflen, gint32 sec, gint32 frac, time_res_t units) { - char *sign; + const char *sign; /* If the fractional part of the time stamp is negative, print its absolute value and, if the seconds part isn't @@ -533,7 +533,7 @@ rel_time_to_str(nstime_t *rel_time) { gchar *buf; char *p; - char *sign; + const char *sign; gint32 time; gint32 nsec; |