QDB: Quote #311302
About / Browse / Latest / Random / Queue / Prefs / Submit Quote / Search

#311302 (28/52) ↑Good ↓Bad ⚐Flag
<dn5> I have int start = 1476620495; and int end = 1476620495 (unix timestamp), but if I have int res; and then res = end - start, res returns 0 when printf with %d
<dn5> why?
<izalove> because it's the same number?
<fstd> duh
<dn5> okay thats not supposed to happen haha
<fstd> ,reset
<candide> Days since our last accident: 0
Comment: ##c at freenode
save page | share

About / Browse / Latest / Random / Queue / Prefs / Submit Quote / Search
14,730 quotes approved; 8,858 fermenting; karma: 189.5310