summaryrefslogtreecommitdiff
path: root/kernel/memory/physalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/memory/physalloc.h')
-rw-r--r--kernel/memory/physalloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/memory/physalloc.h b/kernel/memory/physalloc.h
index 7afe998..d91c57a 100644
--- a/kernel/memory/physalloc.h
+++ b/kernel/memory/physalloc.h
@@ -26,7 +26,7 @@ void *alloc_phys_page(void);
* Allocates count physical pages in memory
* @returns the physical address of the first page
*/
-void *alloc_phys_pages(int count);
+void *alloc_phys_pages(size_t count);
/**
* Frees a single physical page in memory
@@ -39,6 +39,6 @@ void free_phys_page(void *ptr);
* @param ptr - the physical address of the first page
* @param count - the number of pages in the list
*/
-void free_phys_pages(void *ptr, int count);
+void free_phys_pages(void *ptr, size_t count);
#endif /* physalloc.h */