Fixed a warning in the test program.

This commit is contained in:
Pietro Gagliardi 2016-01-09 14:49:44 -05:00
parent ef54b99b93
commit 2a80888cb8
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
// 8 october 2015
#include <inttypes.h>
#include "test.h"
static uiArea *area;
@ -18,7 +19,7 @@ static void handlerDraw(uiAreaHandler *a, uiArea *area, uiAreaDrawParams *p)
static void handlerMouseEvent(uiAreaHandler *a, uiArea *area, uiAreaMouseEvent *e)
{
printf("mouse (%g,%g):(%g,%g) down:%d up:%d count:%d mods:%x held:%x\n",
printf("mouse (%g,%g):(%g,%g) down:%d up:%d count:%d mods:%x held:%" PRIu64 "x\n",
e->X,
e->Y,
e->AreaWidth,