Skip to content

Commit

Permalink
Change field type stream.written (int => size_t)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermocalvo committed Sep 28, 2017
1 parent ae4d8bd commit e3a8988
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fmt",
"version": "1.1",
"version": "1.2",
"description": "A tiny C string formatting library",
"repo": "guillermocalvo/fmt",
"license": "LGPL",
Expand Down
2 changes: 1 addition & 1 deletion src/fmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* fmt source code file
*
* @version 1.1
* @version 1.2
* @author Copyright (c) 2017 Guillermo Calvo
*
*/
Expand Down
4 changes: 2 additions & 2 deletions src/fmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* fmt header file
*
* @version 1.1
* @version 1.2
* @author Copyright (c) 2017 Guillermo Calvo
*
*/
Expand All @@ -23,7 +23,7 @@ struct fmt_stream{
FILE * file;
char * buffer;
size_t bytes;
int written;
size_t written;
};

/** Custom formatter */
Expand Down

0 comments on commit e3a8988

Please sign in to comment.