summaryrefslogtreecommitdiff
path: root/src/flex.skl
diff options
context:
space:
mode:
authorMichael McConville <mmcconville@mykolab.com>2015-12-09 16:14:41 -0500
committerWill Estes <westes575@gmail.com>2015-12-09 17:33:58 -0500
commit3d08a0129229e99e1bcaa33d024e9cb0c27d903c (patch)
treeaa81cc29e92fd0911d4f6c7ccb9f69272264a292 /src/flex.skl
parent0dfcb6228ffa0323080378364885f8aac4092c0b (diff)
Removed memory allocation casts.
Diffstat (limited to 'src/flex.skl')
-rw-r--r--src/flex.skl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flex.skl b/src/flex.skl
index a5111be..b63c8c8 100644
--- a/src/flex.skl
+++ b/src/flex.skl
@@ -3083,7 +3083,7 @@ void *yyalloc YYFARGS1( yy_size_t ,size)
{
M4_YY_DECL_GUTS_VAR();
M4_YY_NOOP_GUTS_VAR();
- return (void *) malloc( size );
+ return malloc(size);
}
]])
@@ -3101,7 +3101,7 @@ void *yyrealloc YYFARGS2( void *,ptr, yy_size_t ,size)
* any pointer type to void*, and deal with argument conversions
* as though doing an assignment.
*/
- return (void *) realloc( (char *) ptr, size );
+ return realloc(ptr, size);
}
]])