Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 84214 | Differences between
and this patch

Collapse All | Expand All

(-)update-mime-database.c (-1 / +1 lines)
Lines 847-853 Link Here
847
		out_mask = g_new(char, bytes);
847
		out_mask = g_new(char, bytes);
848
		for (b = 0; b < bytes; b++)
848
		for (b = 0; b < bytes; b++)
849
		{
849
		{
850
			int shift = (bytes - b - 1) * 8;
850
			int shift = (big_endian ? (bytes - b - 1) : b) * 8;
851
			out_mask[b] = (mask >> shift) & 0xff;
851
			out_mask[b] = (mask >> shift) & 0xff;
852
		}
852
		}
853
	}
853
	}

Return to bug 84214