mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Build Warnings
- Eliminated a build warning.
This commit is contained in:
parent
656e350291
commit
7e4adbc091
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ void ColumnDescription::measure (Task& task, unsigned int& minimum, unsigned int
|
|||
|
||||
if (task.annotation_count)
|
||||
{
|
||||
int min_anno = _indent + Date::length (_dateformat);
|
||||
unsigned int min_anno = _indent + Date::length (_dateformat);
|
||||
if (min_anno > minimum)
|
||||
minimum = min_anno;
|
||||
|
||||
|
@ -141,7 +141,7 @@ void ColumnDescription::measure (Task& task, unsigned int& minimum, unsigned int
|
|||
|
||||
if (task.annotation_count)
|
||||
{
|
||||
int min_anno = Date::length (_dateformat);
|
||||
unsigned int min_anno = Date::length (_dateformat);
|
||||
std::map <std::string, std::string> annos;
|
||||
task.getAnnotations (annos);
|
||||
std::map <std::string, std::string>::iterator i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue