%d -> %u for unsigned

This commit is contained in:
Daniel Micay 2012-09-17 17:44:49 -04:00
parent 30298b446d
commit 8ebe3ec620
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ static void draw_marker(cairo_t *cr, long x, long y, unsigned id) {
cairo_set_font_size(cr, 9); cairo_set_font_size(cr, 9);
cairo_move_to(cr, static_cast<double>(x), static_cast<double>(y + 7)); cairo_move_to(cr, static_cast<double>(x), static_cast<double>(y + 7));
snprintf(buffer, 10, "%d", id); snprintf(buffer, 10, "%u", id);
cairo_show_text(cr, buffer); cairo_show_text(cr, buffer);
} }