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

Serge Petrenko sergepetrenko at tarantool.org
Fri Nov 13 13:19:57 MSK 2020


13.11.2020 13:13, Cyrill Gorcunov пишет:
> 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.
I see, thanks!
LGTM then.

-- 
Serge Petrenko



More information about the Tarantool-patches mailing list