From e811333cc6b17e28316b07484b41744c2feaa49a Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Sun, 19 Jun 2016 19:53:13 +0900
Subject: [PATCH 10/13] utility.cpp: fix clang warnings.
---
src/add-ons/kernel/partitioning_systems/gpt/utility.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/add-ons/kernel/partitioning_systems/gpt/utility.cpp b/src/add-ons/kernel/partitioning_systems/gpt/utility.cpp
index 4564377..813429c 100644
a
|
b
|
void
|
38 | 38 | to_utf8(const uint16* from, size_t maxFromLength, char* to, size_t toSize) |
39 | 39 | { |
40 | 40 | for (uint32 i = 0; i < maxFromLength; i++) { |
41 | | uint16 c = B_LENDIAN_TO_HOST_INT16(from[i]); |
| 41 | uint32 c = B_LENDIAN_TO_HOST_INT32(from[i]); |
42 | 42 | if (!c) |
43 | 43 | break; |
44 | 44 | |