소스 검색

Merge branch 'master' of https://github.com/lprylli/tigervnc

tags/v1.9.90
Pierre Ossman 5 년 전
부모
커밋
c65cd4b746
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      common/rfb/Congestion.cxx

+ 1
- 1
common/rfb/Congestion.cxx 파일 보기

@@ -70,7 +70,7 @@ static const unsigned MAXIMUM_WINDOW = 4194304;

// Compare position even when wrapped around
static inline bool isAfter(unsigned a, unsigned b) {
return (int)a - (int)b > 0;
return a != b && a - b <= UINT_MAX / 2;
}

static LogWriter vlog("Congestion");

Loading…
취소
저장