author | zecke <zecke> | 2005-06-27 17:58:53 (UTC) |
---|---|---|
committer | zecke <zecke> | 2005-06-27 17:58:53 (UTC) |
commit | 058e3b6b0bc8f29314ee794bf7e993ebf3bfe072 (patch) (unidiff) | |
tree | 1b60828635ad0f0a526fe6298401f48cd6edc831 /core/pim/today/plugins | |
parent | 0c99f2087c4d5a1cab6c2bd1083d6db3f2a4cae8 (diff) | |
download | opie-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
-rw-r--r-- | core/pim/today/plugins/addressbook/addresspluginwidget.cpp | 4 |
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 | |||
@@ -118,9 +118,9 @@ void AddressBookPluginWidget::getAddress() { | |||
118 | + "</font> <br>"; | 118 | + "</font> <br>"; |
119 | 119 | ||
120 | // Sort filtered results | 120 | // Sort filtered results |
121 | m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortBirthday, | 121 | m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortBirthday, |
122 | Opie::OPimContactAccess::FilterOff, NULL ); | 122 | Opie::OPimContactAccess::FilterOff, 0 ); |
123 | 123 | ||
124 | for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) { | 124 | for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) { |
125 | if ( ammount++ < m_maxLinesTask ){ | 125 | if ( ammount++ < m_maxLinesTask ){ |
126 | // Now we want to calculate how many days | 126 | // Now we want to calculate how many days |
@@ -175,9 +175,9 @@ void AddressBookPluginWidget::getAddress() { | |||
175 | + "</font> <br>"; | 175 | + "</font> <br>"; |
176 | 176 | ||
177 | // Sort filtered results | 177 | // Sort filtered results |
178 | m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortAnniversary, | 178 | m_list = m_contactdb->sorted( m_list, true, Opie::OPimContactAccess::SortAnniversary, |
179 | Opie::OPimContactAccess::FilterOff, NULL ); | 179 | Opie::OPimContactAccess::FilterOff, 0 ); |
180 | 180 | ||
181 | for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) { | 181 | for ( m_it = m_list.begin(); m_it != m_list.end(); ++m_it ) { |
182 | if ( ammount++ < m_maxLinesTask ){ | 182 | if ( ammount++ < m_maxLinesTask ){ |
183 | // Now we want to calculate how many days until anniversary. | 183 | // Now we want to calculate how many days until anniversary. |