view mercurial/__init__.py @ 26774:04ab2348efd1

parsers: correct type of temporary variables for dirstate tuple fields These fields are defined as int. This eliminates the following warning spotted by CC=clang CFLAGS='-Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wshorten-64-to-32': mercurial/parsers.c:625:29: warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Wsign-compare] if (state == 'n' && mtime == now) {
author Yuya Nishihara <yuya@tcha.org>
date Sat, 17 Oct 2015 23:14:13 +0900
parents 9117c6561b0b
children 4374d819ccd5
line wrap: on
line source