summaryrefslogtreecommitdiff
path: root/gptpart.cc
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2010-09-25 20:39:52 -0400
committersrs5694 <srs5694@users.sourceforge.net>2010-09-25 20:39:52 -0400
commitab4b0438394df4ae6bdea86194e254d7d35fdea0 (patch)
tree4bd9e7607701e94748f49375baeb24e48c07d6ca /gptpart.cc
parent5a081757ea2e32a491349544fea92826ccf739f6 (diff)
downloadsgdisk-ab4b0438394df4ae6bdea86194e254d7d35fdea0.tar.gz
Final 0.6.11 version; only trivial changes
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';