hv: use uint64_t replace "unsigned long"

Since it's typedef in "include/lib/types.h"

Tracked-On: #861
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
Li, Fei1
2018-12-08 00:13:56 +08:00
committed by wenlingz
parent 473d871397
commit e8f3a2d42c
5 changed files with 6 additions and 6 deletions

View File

@@ -2267,7 +2267,7 @@ Changes
* Generalized external private key implementation handling (like PKCS#11)
in SSL/TLS
* Revamped x509_verify() and the SSL f_vrfy callback implementations
* Moved from unsigned long to fixed width uint32_t types throughout code
* Moved from uint64_t to fixed width uint32_t types throughout code
* Renamed ciphersuites naming scheme to IANA reserved names
Bugfix

View File

@@ -252,7 +252,7 @@ static void print_pow2(struct print_param *param,
uint64_t v_arg, uint32_t shift)
{
uint64_t v = v_arg;
/* max buffer required for octal representation of unsigned long long */
/* max buffer required for octal representation of uint64_t long */
char digitbuff[22];
/* Insert position for the next character+1 */
char *pos = digitbuff + sizeof(digitbuff);
@@ -305,7 +305,7 @@ static void print_pow2(struct print_param *param,
static void print_decimal(struct print_param *param, int64_t value)
{
/* max. required buffer for unsigned long long in decimal format */
/* max. required buffer for uint64_t long in decimal format */
char digitbuff[20];
/* pointer to the next character position (+1) */
char *pos = digitbuff + sizeof(digitbuff);