On Thu, 2012-04-12 at 22:12 -0400, Simo Sorce wrote: > On Thu, 2012-04-12 at 21:53 -0400, Stephen Gallagher wrote: > > +#define SAFEALIGN_COPY_UINT8(dest, src, pctr) \ > > + safealign_memcpy(dest, src, sizeof(uint8_t), pctr) > > + > > +#define SAFEALIGN_COPY_INT8(dest, src, pctr) \ > > + safealign_memcpy(dest, src, sizeof(int8_t), pctr) > > + > > Assigning a char never have alignment issues by definition, so I do not > get why you are calling memcpy here ?
I didn't realize they were exempt. I guess my understanding of alignment is out of alignment. I'll remove that.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel