Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/compat/freebsd



    Date:        Sat, 6 Apr 2019 10:30:39 -0700
    From:        Jason Thorpe <thorpej%me.com@localhost>
    Message-ID:  <047BA730-614E-46FD-85E2-F501D18F4769%me.com@localhost>

  | This is wrong -- register_t is 64-bit on amd64 ... so u_long
  | is the better choice of cast.

It was wrong anyway, it needs to be an unsigned type (even though
code is signed) ... but yes, I will switch it back to the previous
version, and we can just hope that this stuff never gets used on
a system where long is 64 bits and register_t is 32.

kre



Home | Main Index | Thread Index | Old Index