smu handles big files correctly now. - smu - smu - simple markup (Markdown) processor (fork, fixes + features)
(HTM) git clone git://git.codemadness.org/smu
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit f6967fe5819b82c722fe4270c55f1ea1cb9c7fae
(DIR) parent 9bb4f5d434e82d31fdc2d95450f0727ec64be214
(HTM) Author: gottox@rootkit.lan <gottox@rootkit.lan>
Date: Mon, 14 Jan 2008 13:43:25 +0100
smu handles big files correctly now.
Diffstat:
M smu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/smu.c b/smu.c
@@ -517,8 +517,8 @@ process(const char *begin, const char *end, int newblock) {
int
main(int argc, char *argv[]) {
char *buffer;
- int s, len;
- unsigned int bsize;
+ int s;
+ unsigned long len, bsize;
source = stdin;
if(argc > 1 && strcmp("-v", argv[1]) == 0)