Index: uspace/app/bdsh/tok.c
===================================================================
--- uspace/app/bdsh/tok.c	(revision b2727f189307a12dda818798e0ef455d551e67ee)
+++ uspace/app/bdsh/tok.c	(revision f41682c751e229b19ae656924a5ad4c43550f532)
@@ -224,6 +224,6 @@
 wchar_t tok_look_char(tokenizer_t *tok)
 {
-	unsigned int old_offset = tok->in_offset;
-	unsigned int old_char_offset = tok->in_char_offset;
+	size_t old_offset = tok->in_offset;
+	size_t old_char_offset = tok->in_char_offset;
 	wchar_t ret = tok_get_char(tok);
 	tok->in_offset = old_offset;
Index: uspace/app/bdsh/tok.h
===================================================================
--- uspace/app/bdsh/tok.h	(revision b2727f189307a12dda818798e0ef455d551e67ee)
+++ uspace/app/bdsh/tok.h	(revision f41682c751e229b19ae656924a5ad4c43550f532)
@@ -38,6 +38,6 @@
 typedef struct {
 	char *text;
-	unsigned int byte_start;
-	unsigned int char_start;
+	size_t byte_start;
+	size_t char_start;
 	size_t byte_length;
 	size_t char_length;
@@ -47,8 +47,8 @@
 typedef struct {
 	char *in;
-	unsigned int in_offset;
-	unsigned int last_in_offset;
-	unsigned int in_char_offset;
-	unsigned int last_in_char_offset;
+	size_t in_offset;
+	size_t last_in_offset;
+	size_t in_char_offset;
+	size_t last_in_char_offset;
 	
 	char *outbuf;
