ingdemurtas:
Passing the pointer compiles fine. I'll see if this worksif (memcmp(&s_temp, &s, sizeof(s)!=0)) {
}
That won't work. Why the "!= 0"? It converts the result to a boolean (0 or 1), which is not the size you're looking for!
Check your parentheses.