diff options
Diffstat (limited to 'include/m_database.h')
-rw-r--r-- | include/m_database.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_database.h b/include/m_database.h index 9cd38c1273..41ce36bef5 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -208,7 +208,7 @@ are no contacts in the db. */
#if defined(__cplusplus)
-EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_first(const char *szProto = NULL);
+EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_first(const char *szProto = nullptr);
#else
EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_first(const char *szProto);
#endif
@@ -222,7 +222,7 @@ hContact was the last contact in the db or hContact was invalid. */
#if defined(__cplusplus)
-EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_next(MCONTACT hContact, const char *szProto = NULL);
+EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_next(MCONTACT hContact, const char *szProto = nullptr);
#else
EXTERN_C MIR_CORE_DLL(MCONTACT) db_find_next(MCONTACT hContact, const char *szProto);
#endif
|