[COMMITTED PATCH] Bug fixes: hppa: Implement socket_type.h / hppa: Cleanup cast warnings.

Roland McGrath roland@hack.frob.com
Thu Nov 29 22:51:00 GMT 2012


> +	* sysdeps/unix/sysv/linux/hppa/bits/socket.h: Delete file.
> +	* ports/sysdeps/unix/sysv/linux/hppa/bits/socket_type.h: New file.

s,ports/,,

> @@ -42,7 +42,7 @@ feholdexcept (fenv_t *envp)
>  
>    /* Load the new environment. Note: fr0 must load last to enable T-bit 
>       Thus we start bufptr at the end and work backwards */
> -  bufptr = (unsigned int)(clear.buf) + sizeof(unsigned int)*4;
> +  bufptr = (unsigned long long *)((unsigned int)(clear.buf) + sizeof(unsigned int)*4);

libc code eschews implicit int (but uint64_t might be the easier thing to
type anyway), and also uses more spaces than this.



More information about the Libc-alpha mailing list