hdspconf: fix some string constant conversions

Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Tim Blechmann 2011-03-27 13:34:19 +02:00 committed by Takashi Iwai
parent 8f446f99e5
commit e6c8241752
8 changed files with 43 additions and 43 deletions

View file

@ -1,8 +1,8 @@
/*
* HDSPConf
*
*
* Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@ -21,7 +21,7 @@
#pragma implementation
#include "HC_BreakoutCable.h"
static void setXlrStatus(char *ctl_name, int val, int card_index)
static void setXlrStatus(const char *ctl_name, int val, int card_index)
{
int err;
char card_name[6];
@ -67,7 +67,7 @@ HC_BreakoutCable::HC_BreakoutCable(int x, int y, int w, int h):Fl_Group(x, y, w,
xlr = new Fl_Check_Button(x+15, y, w-30, 20, "XLR");
xlr->labelsize(10);
xlr->callback(xlr_cb, (void *)parent());
end();
end();
}
void HC_BreakoutCable::setXlr(unsigned char val)