seq_buf: Use size_t for len in seq_buf_puts()
[linux-2.6-microblaze.git] / lib / seq_buf.c
index 6aabb60..bd807f5 100644 (file)
@@ -140,7 +140,7 @@ int seq_buf_bprintf(struct seq_buf *s, const char *fmt, const u32 *binary)
  */
 int seq_buf_puts(struct seq_buf *s, const char *str)
 {
-       unsigned int len = strlen(str);
+       size_t len = strlen(str);
 
        WARN_ON(s->size == 0);