openbsd-ports/databases/sqliteman/patches/patch-sqliteman_database_h

13 lines
602 B
Plaintext

$OpenBSD: patch-sqliteman_database_h,v 1.1 2010/10/28 08:56:08 espie Exp $
--- sqliteman/database.h.orig Thu Oct 28 09:47:21 2010
+++ sqliteman/database.h Thu Oct 28 09:51:12 2010
@@ -67,7 +67,7 @@ class Database
\param schema a name of the DB schema
\retval DbObjects a map with "object name"/"its parent"
*/
- static DbObjects getObjects(const QString type = 0, const QString schema = "main");
+ static DbObjects getObjects(const QString type = (const char *)0, const QString schema = "main");
/*! \brief Gather "SYS schema" objects.
\param schema a string with "attached db" name