aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-07-23 11:41:25 +0000
committerJörg Mayer <jmayer@loplof.de>2005-07-23 11:41:25 +0000
commit30a855786822f15108e3a9d4dbd5579cd656abba (patch)
tree88cde02c2a8b79acb9a58e94d44b2cc686e12e9e /epan/to_str.c
parentcb4ac62893d38d74efc89f5d5c90c7451dc421a4 (diff)
downloadwireshark-30a855786822f15108e3a9d4dbd5579cd656abba.tar.gz
wireshark-30a855786822f15108e3a9d4dbd5579cd656abba.tar.bz2
wireshark-30a855786822f15108e3a9d4dbd5579cd656abba.zip
More 'char*' -> 'const char*' changes to fix warnings.
svn path=/trunk/; revision=15015
Diffstat (limited to 'epan/to_str.c')
-rw-r--r--epan/to_str.c6
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;