Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2021 17:51:09 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: db269074ff82 - main - sys/ddb: Use C99 fixed-width integer types.
Message-ID:  <202112281751.1BSHp9jZ053333@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=db269074ff820c4ee1afcc20b4788da88ffe22ed

commit db269074ff820c4ee1afcc20b4788da88ffe22ed
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-12-28 17:41:47 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-12-28 17:41:47 +0000

    sys/ddb: Use C99 fixed-width integer types.
    
    No functional change.
    
    Reviewed by:    imp
    Differential Revision:  https://reviews.freebsd.org/D33634
---
 sys/ddb/db_access.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/ddb/db_access.c b/sys/ddb/db_access.c
index dcc3055f4463..030b13869fe1 100644
--- a/sys/ddb/db_access.c
+++ b/sys/ddb/db_access.c
@@ -55,7 +55,7 @@ static unsigned db_extend[] = {	/* table for sign-extending */
 db_expr_t
 db_get_value(db_addr_t addr, int size, bool is_signed)
 {
-	char		data[sizeof(u_int64_t)];
+	char		data[sizeof(uint64_t)];
 	db_expr_t	value;
 	int		i;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112281751.1BSHp9jZ053333>