In the following code:
if I change 'int i=0' for 'unsigned int = 0' I dont get the same result. In fact, the ^ operation result bad. Any ideas why?Code:for (int i = 0; i < 64; ++i) { if (posicion[jugada_actual].piezas[i] != VACIO) hash ^= hash_piezas[posicion[jugada_actual].color[i]][posicion[jugada_actual].piezas[i]][i]; }