diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 15:08:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 20:39:24 +0000 |
commit | 2ed29e98dac6e6f4827ddb72e300f2cc1c26024f (patch) | |
tree | 334843fe9a9eb555de47bcfea8df1ff74e99adbd /rdbmaker/source | |
parent | 394b688ef0da4f211e2343aee9c8759e7302ec26 (diff) |
avoid implicit cast
Diffstat (limited to 'rdbmaker/source')
-rw-r--r-- | rdbmaker/source/codemaker/global.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdbmaker/source/codemaker/global.cxx b/rdbmaker/source/codemaker/global.cxx index 1651abb20292..a7cafd333c33 100644 --- a/rdbmaker/source/codemaker/global.cxx +++ b/rdbmaker/source/codemaker/global.cxx @@ -133,7 +133,7 @@ void FileStream::open(const OString& name, FileAccessMode mode) if ( name.getLength() > 0 ) { m_name = name; - m_pFile = fopen(m_name, checkAccessMode(mode)); + m_pFile = fopen(m_name.getStr(), checkAccessMode(mode)); } } |