There are already several places where we check that it is okay to cast
size_t value to int. This function should unify these places to replace
non-trivial code with a simple function call.
Also added a (hopefully correct) test for this function.
More functions should be added on-demand basis.
Powered by Trac 1.5.4
By Edgewall Software
Visit HelenOS web site athttp://www.helenos.org/