summaryrefslogtreecommitdiff
path: root/gptpart.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gptpart.cc')
-rw-r--r--gptpart.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gptpart.cc b/gptpart.cc
index cea8362..7be3740 100644
--- a/gptpart.cc
+++ b/gptpart.cc
@@ -106,7 +106,7 @@ void GPTPart::SetName(const string & theName) {
junk = fgets(newName, NAME_SIZE / 2, stdin);
// Input is likely to include a newline, so remove it....
- i = strlen(newName);
+ i = (int) strlen(newName);
if ((i > 0) && (i <= NAME_SIZE))
if (newName[i - 1] == '\n')
newName[i - 1] = '\0';