int jim = 123;
int *p = &jim;
unsigned int fred = (unsigned) *p;
