diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-12-21 13:58:51 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-12-21 13:58:51 +0000 |
commit | f9396bbfe805c16944fec66ff0c6acdf87ba2ef2 (patch) | |
tree | c8a71a47d746009969a6d588529d28658626c9b2 /tools/xenstat | |
parent | 015f6a2832c6304c9eccdbbe09ddb71efb2144d7 (diff) | |
download | xen-f9396bbfe805c16944fec66ff0c6acdf87ba2ef2.tar.gz xen-f9396bbfe805c16944fec66ff0c6acdf87ba2ef2.tar.bz2 xen-f9396bbfe805c16944fec66ff0c6acdf87ba2ef2.zip |
Improve consistency of type-attribute usage (volatile/const).
From: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/xenstat')
-rw-r--r-- | tools/xenstat/xentop/xentop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c index b772f951fb..f88fd26742 100644 --- a/tools/xenstat/xentop/xentop.c +++ b/tools/xenstat/xentop/xentop.c @@ -269,7 +269,7 @@ static void print(const char *fmt, ...) if (!batch) { if((current_row() < lines()-1)) { va_start(args, fmt); - vwprintw(stdscr, (char *)fmt, args); + vwprintw(stdscr, (const char *)fmt, args); va_end(args); } } else { @@ -283,7 +283,7 @@ static void print(const char *fmt, ...) static void attr_addstr(int attr, const char *str) { attron(attr); - addstr((char *)str); + addstr((const char *)str); attroff(attr); } |