Re:Reading the NSA’s codebase: LemonGraph review
by EpicEng on Friday August 10, 2018 @01:10PM
(#17735065)
>The parent comment was referring to the usage of sizeof().
Ah ok, makes more sense in re-reading now. I was lazy and went off of a child comment.
>Also, the fact that they cast the result of malloc makes me think they were using a C++ compiler, which will complain that there's no cast.
Definitely could be that.
Re:Reading the NSA’s codebase: LemonGraph review
by blattimwind on Friday August 10, 2018 @12:18PM
(#17734658)
If you're compiling for C++, you should be using static_cast<> instead.
Also, the fact that they cast the result of malloc makes me think they were using a C++ compiler, which will complain that there's no cast.