mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-04 12:28:35 +02:00
Portability
- Fixed compiler warning.
This commit is contained in:
parent
7a778ba317
commit
d7ba2b2b62
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ void E9::operator_equal (
|
||||||
// 'project' is matched leftmost.
|
// 'project' is matched leftmost.
|
||||||
if (left._raw == "project")
|
if (left._raw == "project")
|
||||||
{
|
{
|
||||||
int right_len = right._value.length ();
|
unsigned int right_len = right._value.length ();
|
||||||
if (compare (right._value,
|
if (compare (right._value,
|
||||||
(right_len < left._value.length ()
|
(right_len < left._value.length ()
|
||||||
? left._value.substr (0, right_len)
|
? left._value.substr (0, right_len)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue