Packets fixen Toms tut...

02/28/2012 16:54 Eragøn#1
ich ahbe mal ne frage.


meine normale crc sieht so aus(kleiner ausschnitt):

Quote:
else
return sizeof(T);
#endif
}

inline bool IsAlignedOn(const void *p, unsigned int alignment)
{
return IsPowerOf2(alignment) ? ModPowerOf2((unsigned int)p, alignment) == 0 : (unsigned int)p % alignment == 0;
}

template <class T>
inline bool IsAligned(const void *p, T *dummy=NULL) // VC60 workaround
{
return IsAlignedOn(p, GetAlignment<T>());
}


toms crc zeigt bei mir nur hex an, muss dass so?
Quote:
Âów-Í3Rj?à„Kíé