chiark / gitweb /
When printfing dimensions, cast them to the right type first.
authorBen Harris <bjh21@bjh21.me.uk>
Fri, 6 Apr 2018 22:07:28 +0000 (23:07 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Fri, 6 Apr 2018 22:07:28 +0000 (23:07 +0100)
commitb86aa20400e80df824afda193051683e6d8dd696
treed2ef29a9865f7f69c69b71d3f3dbf57748672fb7
parent665a6dc28b37346c9a564b87915170a2397d0be1
When printfing dimensions, cast them to the right type first.

That way, if floating-point numbers turn up, they won't get
interpreted as ints and cause a horrid mess.
bedstead.c