What’s Wrong with this code? – 2

What’s wrong with this code?

UINT a;
.
.
.
DoSomething(HIWORD(a));
void DoSomething(int x)
{
 if (x < 0)
 {
  //do something
 }
 
}

I recently ran into this in some code I was working on.

1 thought on “What’s Wrong with this code? – 2

  1. Pingback: Philosophical Geek » What’s Wrong with this code? - 2 - Answer

Comments are closed.