kopia lustrzana https://github.com/Hamlib/Hamlib
Fix 32-bit compile warning in sprintflst.c
rodzic
16826c5a88
commit
8b75fc8ea6
|
@ -927,8 +927,8 @@ int rig_sprintf_agc_levels(RIG *rig, char *str, int lenstr)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_ERR, "%s: buffer overrun!! len=%ld > maxlen=%d\n",
|
rig_debug(RIG_DEBUG_ERR, "%s: buffer overrun!! len=%d > maxlen=%d\n",
|
||||||
__func__, strlen(str) + strlen(tmpbuf), lenstr - 1);
|
__func__, (int)(strlen(str) + strlen(tmpbuf)), lenstr - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -947,8 +947,8 @@ int rig_sprintf_agc_levels(RIG *rig, char *str, int lenstr)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_ERR, "%s: buffer overrun!! len=%ld > maxlen=%d\n",
|
rig_debug(RIG_DEBUG_ERR, "%s: buffer overrun!! len=%d > maxlen=%d\n",
|
||||||
__func__, strlen(str) + strlen(tmpbuf), lenstr - 1);
|
__func__, (int)(strlen(str) + strlen(tmpbuf)), lenstr - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue