git: AMD64 - Fix unsigned promotion that was meant to be a signed promotion

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 22 16:08:36 PDT 2009


commit 55126001d825cd2f25f79cb92b74cb3cfa958071
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 22 16:06:14 2009 -0700

    AMD64 - Fix unsigned promotion that was meant to be a signed promotion
    
    * When casting the result if a TCP sequence space difference to a long
      we must first cast to tcp_seq_diff_t or the promotion will not
      sign-extend the result.

Summary of changes:
 sys/netinet/tcp_output.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/55126001d825cd2f25f79cb92b74cb3cfa958071


-- 
DragonFly BSD source repository





More information about the Commits mailing list