mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2025-12-17 12:24:37 +03:00
Fixed warnings
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "mem.h"
|
||||
|
||||
void memory_copy(char *source, char *dest, int nbytes) {
|
||||
void memory_copy(u8 *source, u8 *dest, int nbytes) {
|
||||
int i;
|
||||
for (i = 0; i < nbytes; i++) {
|
||||
*(dest + i) = *(source + i);
|
||||
|
||||
Reference in New Issue
Block a user