Ah, I misread the code that uses union actually checks the type
in struct delta_entry (which embeds the union). There won't be
any collision problem and you support both types at the same
time just fine.
And your patch to compare only the first 20-bytes makes sense
(assuming ulong is always shorter than 20-bytes which I think is
safe to assume).
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html