diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:49:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:49:47 +0200 |
commit | 35f8f293956bedc52d9aac4c25d5672541bfb07e (patch) | |
tree | 93c5878e974c0bf8eaa7d008ea864501ab71b632 /hwpfilter | |
parent | 6e66946312803f00b14c4d492e82dbd85fe1a96c (diff) |
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I10dfaab18f39df8766718370d0bee6c9e41d1a42
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/lexer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/lexer.cxx b/hwpfilter/source/lexer.cxx index 85632209c09c..9c7cea8820b7 100644 --- a/hwpfilter/source/lexer.cxx +++ b/hwpfilter/source/lexer.cxx @@ -2088,7 +2088,7 @@ static void *yy_flex_alloc( size ) yy_size_t size; #endif { - return (void *) malloc( size ); + return malloc( size ); } #ifdef YY_USE_PROTOS @@ -2106,7 +2106,7 @@ yy_size_t size; * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ - return (void *) realloc( ptr, size ); + return realloc( ptr, size ); } #ifdef YY_USE_PROTOS |