summaryrefslogtreecommitdiffstats
path: root/StdLib/BsdSocketLib/res_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'StdLib/BsdSocketLib/res_debug.c')
-rw-r--r--StdLib/BsdSocketLib/res_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/StdLib/BsdSocketLib/res_debug.c b/StdLib/BsdSocketLib/res_debug.c
index 4adef6e545..791ac8372d 100644
--- a/StdLib/BsdSocketLib/res_debug.c
+++ b/StdLib/BsdSocketLib/res_debug.c
@@ -536,7 +536,7 @@ p_option(u_long option) {
case RES_DNSRCH: return "dnsrch";
case RES_INSECURE1: return "insecure1";
case RES_INSECURE2: return "insecure2";
- default: sprintf(nbuf, "?0x%lx?", (u_long)option);
+ default: sprintf(nbuf, "?0x%lx?", (unsigned long)option);
return (nbuf);
}
}