|
From: <ow...@us...> - 2008-01-23 21:09:10
|
Revision: 1025
http://ipcop.svn.sourceforge.net/ipcop/?rev=1025&view=rev
Author: owes
Date: 2008-01-23 13:09:16 -0800 (Wed, 23 Jan 2008)
Log Message:
-----------
Change progressbar width. Remove compiler warning.
Modified Paths:
--------------
ipcop/trunk/src/installer/hardware.c
Modified: ipcop/trunk/src/installer/hardware.c
===================================================================
--- ipcop/trunk/src/installer/hardware.c 2008-01-23 21:08:10 UTC (rev 1024)
+++ ipcop/trunk/src/installer/hardware.c 2008-01-23 21:09:16 UTC (rev 1025)
@@ -302,7 +302,7 @@
snprintf(line, STRING_SIZE, ipcop_gettext("TR_PROBING_HARDWARE"), "");
text = newtLabel(1, 1, line);
- scale = newtScale(1, 3, 68, numBusses*10);
+ scale = newtScale(1, 3, 70, numBusses*10);
newtCenteredWindow(72, 5, ipcop_gettext("TR_TITLE_HARDWARE"));
form = newtForm(NULL, NULL, 0);
newtFormAddComponents(form, text, scale, NULL);
@@ -559,7 +559,7 @@
snprintf(command, STRING_SIZE, "/sbin/modprobe %s", modulename);
if ( !mysystem(command) )
{
- hardwareadd(specialmodule, modulename, NULL, NULL, NULL, NULL, NULL);
+ hardwareadd(specialmodule, (char *)modulename, NULL, NULL, NULL, NULL, NULL);
}
else
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|