$OpenBSD: patch-module_idoutils_src_db_c,v 1.1 2015/01/19 16:59:42 sthen Exp $
--- module/idoutils/src/db.c.orig	Mon Jan 19 16:12:36 2015
+++ module/idoutils/src/db.c	Mon Jan 19 16:14:09 2015
@@ -2880,7 +2880,7 @@ int ido2db_db_update_config_dump(ido2db_idi *idi, int 
 	int result = IDO_ERROR;
 	char * buf = NULL;
 	int progress = 0;
-	unsigned int instance_id;
+	unsigned long instance_id;
 	ido2db_log_debug_info(IDO2DB_DEBUGL_PROCESSINFO, 2, "ido2db_db_update_config_dump() in_progress=%d\n", in_progress);
 	progress=(in_progress == IDO_TRUE) ? 1 : 0;
 	instance_id=idi->dbinfo.instance_id;
