summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-03 20:02:00 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-05-03 20:02:00 +0200
commita137210fc317764d2f84b0e4009bb269e3b1abac (patch)
tree0329f4bc8e22a9a58e3994554ed4a03a71e59a8f /src
parent0f2790e0acce3d7d012ed1c6abdff2d88f301454 (diff)
downloadxine-lib-a137210fc317764d2f84b0e4009bb269e3b1abac.tar.gz
xine-lib-a137210fc317764d2f84b0e4009bb269e3b1abac.tar.bz2
Make two arrays of string become arrays of arrays of characters.
Diffstat (limited to 'src')
-rw-r--r--src/input/net_buf_ctrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/net_buf_ctrl.c b/src/input/net_buf_ctrl.c
index df7dbadce..1a8ae388e 100644
--- a/src/input/net_buf_ctrl.c
+++ b/src/input/net_buf_ctrl.c
@@ -114,8 +114,8 @@ static void nbc_set_speed_normal (nbc_t *this) {
}
static void display_stats (nbc_t *this) {
- const char *buffering[2] = {" ", "buf"};
- const char *enabled[2] = {"off", "on "};
+ const char buffering[2][4] = {" ", "buf"};
+ const char enabled[2][4] = {"off", "on "};
printf("bufing: %d, enb: %d\n", this->buffering, this->enabled);
printf("net_buf_ctrl: vid %3d%% %4.1fs %4" PRId64 "kbps %1d, "\