StdLib: Fix parameter type errors.

Fix casts of parameters to sprintf() so that they have the correct type.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by:  Stefan Kaeser <stefankaeser@hotmail.com>
Reviewed-by:  daryl.mcdaniel@intel.com



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16125 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Stefan Kaeser
2014-09-17 20:58:16 +00:00
committed by darylm503
parent ec53da7bfa
commit 9d66ee4d17
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}