summaryrefslogtreecommitdiff
path: root/src/Output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Output.cc')
-rw-r--r--src/Output.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Output.cc b/src/Output.cc
index b653333..1f3fd2c 100644
--- a/src/Output.cc
+++ b/src/Output.cc
@@ -114,7 +114,7 @@ void Balau::Output::open(bool truncate) throw (GeneralException) {
throw GeneralException(String("Unable to open file ") + m_name + " for reading: " + strerror_r(cbResults->errorno, str, sizeof(str)) + " (err#" + cbResults->errorno + ")");
}
} else {
- m_fd = cbResults->result;
+ m_fd = (int) cbResults->result;
}
delete cbResults;