]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/ff-stkstring.c
Merge remote-tracking branch 'origin/master'
[libucw.git] / ucw / ff-stkstring.c
index 50b2c3e81d7e5b3e42f51b650182d2c5ffb2ef4a..986d8731249bb4bc9ddfeccda875915164efa2bb 100644 (file)
@@ -12,8 +12,8 @@
  *     of the GNU Lesser General Public License.
  */
 
-#include "ucw/lib.h"
-#include "ucw/fastbuf.h"
+#include <ucw/lib.h>
+#include <ucw/fastbuf.h>
 
 void
 bgets_stk_init(struct bgets_stk_struct *s)
@@ -35,7 +35,7 @@ void
 bgets_stk_step(struct bgets_stk_struct *s)
 {
   byte *buf = s->cur_buf;
-  uns buf_len = s->cur_len;
+  uint buf_len = s->cur_len;
   if (s->old_buf)
     {
       memcpy( s->cur_buf, s->old_buf, s->old_len);
@@ -44,8 +44,8 @@ bgets_stk_step(struct bgets_stk_struct *s)
     }
   do
     {
-      uns cnt = MIN(s->src_len, buf_len);
-      for (uns i = cnt; i--;)
+      uint cnt = MIN(s->src_len, buf_len);
+      for (uint i = cnt; i--;)
         {
          byte v = *s->src++;
          if (v == '\n')