summaryrefslogtreecommitdiff
path: root/core
authorzecke <zecke>2005-06-27 17:58:53 (UTC)
committer zecke <zecke>2005-06-27 17:58:53 (UTC)
commit058e3b6b0bc8f29314ee794bf7e993ebf3bfe072 (patch) (side-by-side diff)
tree1b60828635ad0f0a526fe6298401f48cd6edc831 /core
parent0c99f2087c4d5a1cab6c2bd1083d6db3f2a4cae8 (diff)
downloadopie-058e3b6b0bc8f29314ee794bf7e993ebf3bfe072.zip
opie-058e3b6b0bc8f29314ee794bf7e993ebf3bfe072.tar.gz
opie-058e3b6b0bc8f29314ee794bf7e993ebf3bfe072.tar.bz2
Fix the compiler warning with converting NULL to integer.
I hope this has no negative side effects
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/addressbook/addresspluginwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/today/plugins/addressbook/addresspluginwidget.cpp b/core/pim/today/plugins/addressbook/addresspluginwidget.cpp
index 75bf474..d74df51 100644
--- a/core/pim/today/plugins/addressbook/addresspluginwidget.cpp
+++ b/core/pim/today/plugins/addressbook/addresspluginwidget.cpp
@@ -119,7 +119,7 @@ void AddressBookPluginWidget::getAddress() {
// Sort filtered results
m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortBirthday,
- Opie::OPimContactAccess::FilterOff, NULL );
+ Opie::OPimContactAccess::FilterOff, 0 );
for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) {
if ( ammount++ < m_maxLinesTask ){
@@ -176,7 +176,7 @@ void AddressBookPluginWidget::getAddress() {
// Sort filtered results
m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortAnniversary,
- Opie::OPimContactAccess::FilterOff, NULL );
+ Opie::OPimContactAccess::FilterOff, 0 );
for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) {
if ( ammount++ < m_maxLinesTask ){