> if (pint) > - *pint = value; > + memcpy(pint, &value, min(nsize, sizeof(value))); That is just soooooo broken. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)