Skip to content
Snippets Groups Projects
Commit 9c0f5feb authored by deuce's avatar deuce
Browse files

Switch to size_t to fix warnings on Windows builds.

parent 16aac818
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@
#include "wordwrap.h"
struct prefix {
int cols;
size_t cols;
char *bytes;
};
......@@ -194,8 +194,8 @@ static void outbuf_append(char **outbuf, char **outp, char *append, int len, int
* Length is in bytes and "len" (the number of columns)
*/
struct section_len {
int bytes;
int len;
size_t bytes;
size_t len;
};
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment