aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorokan2013-05-10 16:05:34 +0000
committerokan2013-05-10 16:05:34 +0000
commitea2ab8b96dddba2d149b42c724077210e10090ea (patch)
tree73dce08cc79277cccad123d95a89e1e643f5a93f /conf.c
parentce107b2e3e59cb0c025f6c44227cffa0cbb19a1d (diff)
downloadcwm-ea2ab8b96dddba2d149b42c724077210e10090ea.tar.gz
int type fixes
Diffstat (limited to 'conf.c')
-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));