Stamets@lemmy.dbzer0.com to RPGMemes @ttrpg.network · 4 days agoBard: Get in line. I wish for...lemmy.dbzer0.comimagemessage-square14linkfedilinkarrow-up1129arrow-down15
arrow-up1124arrow-down1imageBard: Get in line. I wish for...lemmy.dbzer0.comStamets@lemmy.dbzer0.com to RPGMemes @ttrpg.network · 4 days agomessage-square14linkfedilink
minus-squareddplf@szmer.infolinkfedilinkarrow-up4·3 days agoThere’s no crash, you just go back to 0. Goodbye.
minus-squarethreelonmusketeers@sh.itjust.workslinkfedilinkEnglisharrow-up2·3 days agoIf num_wishes is a signed int, wouldn’t it overflow back to -65536? I suddenly owe the genie a bunch of wishes?
minus-squarebstix@feddit.dklinkfedilinkarrow-up3·3 days agoAll I have to offer is half a bowl of instant noodles, a lawnmower full of grass and toe nail clippings. So Genie, what do you wish for?
There’s no crash, you just go back to 0. Goodbye.
If
num_wishesis a signed int, wouldn’t it overflow back to -65536? I suddenly owe the genie a bunch of wishes?All I have to offer is half a bowl of instant noodles, a lawnmower full of grass and toe nail clippings. So Genie, what do you wish for?