[Tarantool-patches] [PATCH 09/11] qsync: drop redundant type convention

Cyrill Gorcunov gorcunov at gmail.com
Fri Nov 13 13:13:37 MSK 2020


On Fri, Nov 13, 2020 at 01:11:05PM +0300, Serge Petrenko wrote:
> 
> 12.11.2020 22:51, Cyrill Gorcunov пишет:
> > Void pointer can be cast implicitly.
> 
> We usually use explicit casts. Check `applier.cc`, `alter.cc` and some other
> places.
> This isn't in our style guide though, so I'm fine with the change.
> 
> Let's see what Vlad has to say.

The casts are required for C++ but for plain C void pointer can be
casted to anything, as it is guaranteed by language standart. So
such casting is simply not needed.


More information about the Tarantool-patches mailing list