this post was submitted on 25 Jun 2026
84 points (96.7% liked)

RPGMemes

16593 readers
356 users here now

Humor, jokes, memes about TTRPGs

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Ozymandias1688@feddit.org 5 points 17 hours ago (2 children)

Then I wish for 65,536 wishes. The genie crashes with an integer overflow error.

[–] Daxter101@lemmy.blahaj.zone 1 points 3 hours ago* (last edited 3 hours ago)

Nah, it doesn't crash, now you just have to perform 65,535 wishes for the genie.

[–] ddplf@szmer.info 3 points 6 hours ago (1 children)

There's no crash, you just go back to 0. Goodbye.

[–] threelonmusketeers@sh.itjust.works 1 points 4 hours ago* (last edited 4 hours ago) (1 children)

If num_wishes is a signed int, wouldn't it overflow back to -65536? I suddenly owe the genie a bunch of wishes?

[–] bstix@feddit.dk 1 points 4 hours ago

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?