diff options
author | John Millaway <john43@users.sourceforge.net> | 2003-01-09 23:06:50 +0000 |
---|---|---|
committer | John Millaway <john43@users.sourceforge.net> | 2003-01-09 23:06:50 +0000 |
commit | 4f49c0feadfb2196708fec232967467f33d44018 (patch) | |
tree | 2dcbd2b7b838110fa12bd3d84a487c9dfde87de5 /tests/test-mem-r | |
parent | 0cfd40e1214f9f5f453bff100f309d05ba10fc4d (diff) |
Changed size_t to yy_size_t in yyalloc() and yyrealloc(). Is this really what we want?
Diffstat (limited to 'tests/test-mem-r')
-rw-r--r-- | tests/test-mem-r/scanner.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-mem-r/scanner.l b/tests/test-mem-r/scanner.l index 3ff70e7..c478edf 100644 --- a/tests/test-mem-r/scanner.l +++ b/tests/test-mem-r/scanner.l @@ -85,7 +85,7 @@ static void dump_mem(FILE* fp){ fprintf(fp,"}\n"); } -void * yyalloc(size_t n , void* yyscanner) +void * yyalloc(yy_size_t n , void* yyscanner) { void * p; struct memsz * old; @@ -115,7 +115,7 @@ void * yyalloc(size_t n , void* yyscanner) return p; } -void * yyrealloc(void* p, size_t n , void* yyscanner) +void * yyrealloc(void* p, yy_size_t n , void* yyscanner) { int i; for (i=0; i < arrsz; i++) |