Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Bug at bswap64. #9

Closed
luckboy opened this Issue · 3 comments

2 participants

@luckboy

The bswap64 function has the argument with incorrect type at kernel/src/arch/x86/x64/byteorder.h. This argument should have the u64_t type instead of the u32_t type.

@jkehne
Owner

It looks like byteorder.h is not included anywhere. Do you need those functions for anything in particular? If not, I'll just remove the file.

@luckboy

I just browsed this code. You don't have to remove this file. You can change type of argument of bswap64 (change u32_t to u64_t).

@jkehne
Owner

I realize I can change the argument of bswap64 to fix the bug you reported. But if that function is not used anywhere, there is no point in dragging along dead code.

@jkehne jkehne closed this in 8be66aa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.