-void obResource::setValue(const std::string &rname, long value) {
- assert(m_database != NULL);
+void Resource::setValue(const std::string &rname, int value) {
+ setValue(rname, (long)value);
+}
+
+void Resource::setValue(const std::string &rname, long value) {
+ ASSERT(m_database != NULL);