HomePhabricator

OpenBlockFile(): cast to eliminate signed/unsigned comparison warning
10ab9c2f4279Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

OpenBlockFile(): cast to eliminate signed/unsigned comparison warning

nFile's null value is -1. Cast that to unsigned int, to avoid warning.

Additionally, avoid nFile==0 because the first valid value is 1.

Details

Provenance
Jeff Garzik <jeff@garzik.org>Authored on May 1 2012, 21:50
Jeff Garzik <jgarzik@redhat.com>Committed on May 1 2012, 21:50
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING24de922636e6: CDiskTxPos, CInPoint, COutPoint: cast null value (-1) to unsigned int to…
Branches
Unknown
Tags
Unknown

Event Timeline