Stichting-MINIX-Research-Foundation / minix

Official MINIX sources - Automatically replicated from gerrit.minix3.org
Other
2.99k stars 969 forks source link

llvm: add static_cast to MDMap return #310

Open arafel opened 3 years ago

arafel commented 3 years ago

Fixes a build error on later compilers.

arafel commented 3 years ago

To be honest - I don't speak much C++. If doing what you said is more idiomatic, that's fine so long as it builds. :-)

The problem came when building with GNU C++ 8.3 (Debian 'buster').

(That's assuming someone's going to merge the pull request; the repo seems fairly dead at this point, sadly.)

xboxslim commented 3 years ago

I thank you all, my compilation problem was solved today, thanks to this change.