From 34088a40cf5189138af4b214e763fb8574e8c295 Mon Sep 17 00:00:00 2001 From: mquinson Date: Mon, 7 May 2007 12:53:42 +0000 Subject: [PATCH] size_t is long, so don't play it smart and get it working on amd64 git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3484 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- tools/tesh/tesh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tesh/tesh.c b/tools/tesh/tesh.c index 98a6d14da5..3d3c7a9215 100644 --- a/tools/tesh/tesh.c +++ b/tools/tesh/tesh.c @@ -83,7 +83,7 @@ static void handle_line(const char * filepos, char *line) { } static void handle_suite(const char* filename, FILE* IN) { - int len; + size_t len; char * line = NULL; int line_num=0; char file_pos[256]; @@ -93,7 +93,7 @@ static void handle_suite(const char* filename, FILE* IN) { rctx = rctx_new(); - while (getline(&line,(size_t*) &len, IN) != -1) { + while (getline(&line, &len, IN) != -1) { line_num++; /* Count the line length while checking wheather it's blank */ -- 2.20.1