[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bamarok=5D_src/core-impl/collections/db/sql/mysqleco?=
From: Stefan Derkits <stefan () derkits ! at>
Date: 2011-06-24 20:41:51
Message-ID: 20110624204151.0D778A60A6 () git ! kde ! org
[Download RAW message or body]
Git commit 29999d457507ce0aebad153368bfd8321cc58042 by Stefan Derkits.
Committed on 24/06/2011 at 22:21.
Pushed by derkits into branch 'master'.
Added cast to get rid of a warning
Compiling MySqlEmbeddedStorage.cpp created
a Warning concerning assignment of a string
literal to a char*
A cast to char* was added, to get rid
of the warning
M +1 -1 src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedStorage.cpp \
http://commits.kde.org/amarok/29999d457507ce0aebad153368bfd8321cc58042
diff --git a/src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedStorage.cpp \
b/src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedStorage.cpp index \
f8b64b8..f48ed4a 100644
--- a/src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedStorage.cpp
+++ b/src/core-impl/collections/db/sql/mysqlecollection/MySqlEmbeddedStorage.cpp
@@ -83,7 +83,7 @@ MySqlEmbeddedStorage::MySqlEmbeddedStorage( const QString \
&storageLocation )
setenv( "MYSQL_HOME", storagePath.toAscii().data(), 1 );
setenv( "DEFAULT_HOME_ENV", storagePath.toAscii().data(), 1 );
- char *args[] = { "amarok" };
+ char *args[] = { (char*) "amarok" };
if( mysql_library_init( 1 , args, 0 ) != 0 )
{
error() << "MySQL library initialization failed.";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic