Source

almad-gentoo / net-im / psi / files / psi-0.12.1-build-error.patch

Full commit
commit 360310c8f2dc07c5ff50d4c26b6b984a2c66f5be
Author: Justin Karneges <justin@affinix.com>
Date:   Thu Feb 5 22:53:05 2009 -0800

    make these references less weird

diff --git a/src/mainwin.cpp b/src/mainwin.cpp
index d12497d..6c130e2 100644
--- a/src/mainwin.cpp
+++ b/src/mainwin.cpp
@@ -428,9 +428,9 @@ MainWin::~MainWin()
 
 void MainWin::registerAction( IconAction* action )
 {
-	char activated[] = SIGNAL( activated() );
-	char toggled[]   = SIGNAL( toggled(bool) );
-	char setChecked[]     = SLOT( setChecked(bool) );
+	const char *activated  = SIGNAL( activated() );
+	const char *toggled    = SIGNAL( toggled(bool) );
+	const char *setChecked = SLOT( setChecked(bool) );
 
 	struct {
 		const char* name;