mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-30 13:00:38 +00:00
Printf related fixes.
This commit is contained in:
1 parent
50a2841d34
commit
cbd29e5da8
7 files changed
+16
-14
No files matched your search
+1
-1
@@ -882,7 +882,7 @@ static struct server *add_rev4(struct in_addr addr, int msize)
|
||||
switch (msize)
|
||||
{
|
||||
case 32:
|
||||
p += sprintf(p, "%d.", a & 0xff);
|
||||
p += sprintf(p, "%u.", a & 0xff);
|
||||
/* fall through */
|
||||
case 24:
|
||||
p += sprintf(p, "%d.", (a >> 8) & 0xff);
|
||||
|
||||
Reference in new issue
Block a user