aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--conf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/conf.c b/conf.c
index b49ae6e..ba90add 100644
--- a/conf.c
+++ b/conf.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: conf.c,v 1.123 2013/04/17 13:31:47 okan Exp $
+ * $OpenBSD: conf.c,v 1.124 2013/05/10 16:05:34 okan Exp $
*/
#include <sys/param.h>
@@ -195,7 +195,7 @@ m_binds[] = {
void
conf_init(struct conf *c)
{
- int i;
+ u_int i;
bzero(c, sizeof(*c));
@@ -459,7 +459,7 @@ conf_bindname(struct conf *c, char *name, char *binding)
{
struct keybinding *current_binding;
char *substring, *tmp;
- int i;
+ u_int i;
current_binding = xcalloc(1, sizeof(*current_binding));
@@ -564,7 +564,7 @@ conf_mousebind(struct conf *c, char *name, char *binding)
struct mousebinding *current_binding;
char *substring, *tmp;
const char *errstr;
- int i;
+ u_int i;
current_binding = xcalloc(1, sizeof(*current_binding));