This is a discussion on Re: more improvements for mg within the lucky.openbsd.tech forums, part of the OpenBSD category; --> Otto Moerbeek dixit: >One extra thing: do not assume that sizeof(int) == sizeof(size_t). It will >hit you big time ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Otto Moerbeek dixit: >One extra thing: do not assume that sizeof(int) == sizeof(size_t). It will >hit you big time on 64-bit archs. ssize_t it is, then ;-) The cast is necessary though. Use -Wextra if you don't know why //mirabile -- I believe no one can invent an algorithm. One just happens to hit upon it when God enlightens him. Or only God invents algorithms, we merely copy them. If you don't believe in God, just consider God as Nature if you won't deny existence. -- Coywolf Qi Hunt |