Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ctdonath
on April 12, 2012
|
parent
|
context
|
favorite
| on:
'9223372036854775807' == '9223372036854775808'
You're assuming simple single-operator comparison. It compiles
if ( x = y && p ) return -1;
with joy.
ctdonath
on April 12, 2012
[–]
Correction:
if ( (x = y) && p ) return -1;
to avoid -Wall warnings.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: