Why does __sync_add_and_fetch work for a 64 bit variable on a 32 bit system? Why does __sync_add_and_fetch work for a 64 bit variable on a 32 bit system? c c

Why does __sync_add_and_fetch work for a 64 bit variable on a 32 bit system?