aboutsummaryrefslogtreecommitdiff
path: root/kern/slab.c
diff options
context:
space:
mode:
authorjbranso@dismail.de <jbranso@dismail.de>2024-10-20 15:07:41 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-10-21 00:33:56 +0200
commit257e2f8c3b4dc4175ea5f093bf59e076107a0ef8 (patch)
tree15d4d9059de77cf76574f84735925f60d12a41c1 /kern/slab.c
parentffea9f1e88c4d6b58c3afae3607f5d6c73eca687 (diff)
downloadgnumach-257e2f8c3b4dc4175ea5f093bf59e076107a0ef8.tar.gz
gnumach-257e2f8c3b4dc4175ea5f093bf59e076107a0ef8.tar.bz2
gnumach-257e2f8c3b4dc4175ea5f093bf59e076107a0ef8.zip
fix a compile warning.
* vm/vm_page.c(vm_page_setup): %lu -> %zu vm/vm_page.c: In function 'vm_page_setup': vm/vm_page.c:1425:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1425 | printf("vm_page: page table size: %lu entries (%luk)\n", nr_pages, | ~~^ ~~~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u vm/vm_page.c:1425:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1425 | printf("vm_page: page table size: %lu entries (%luk)\n", nr_pages, | ~~^ | | | long unsigned int | %u 1426 | table_size >> 10); | ~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} Message-ID: <20241020190744.2522-1-jbranso@dismail.de>
Diffstat (limited to 'kern/slab.c')
0 files changed, 0 insertions, 0 deletions