Skip to content

Commit 9556b6a

Browse files
chrstphrchvzeserte
authored andcommitted
tkGlue.c, Event.xs: prevent compiler warnings
Use "%"UVuf format specifiers instead of "%d"
1 parent 26e95e3 commit 9556b6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Event/Event.xs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ install_vtab(pTHX_ char *name, void *table, size_t size)
382382
sv_setiv(FindVarName(aTHX_ name,GV_ADD|GV_ADDMULTI),PTR2IV(table));
383383
if (size % sizeof(fptr))
384384
{
385-
warn("%s is strange size %d",name,size);
385+
warn("%s is strange size %"UVuf,name,size);
386386
}
387387
size /= sizeof(void *);
388388
for (i=0; i < size; i++)

tkGlue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5510,7 +5510,7 @@ size_t size;
55105510
sv_setiv(FindTkVarName(name,GV_ADD|GV_ADDMULTI),PTR2IV(table));
55115511
if (size % sizeof(fptr))
55125512
{
5513-
warn("%s is strange size %d",name,size);
5513+
warn("%s is strange size %"UVuf,name,size);
55145514
}
55155515
size /= sizeof(void *);
55165516
for (i=0; i < size; i++)

0 commit comments

Comments
 (0)