1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/security/tripwire/files/patch-src-core-unixfsservices.cpp
Cy Schubert 25eef83f62 Fix build under clang and gcc 4.8.
Submitted by:	dim
2014-06-15 07:12:26 +00:00

12 lines
549 B
C++

--- src/core/unixfsservices.cpp.orig 2011-11-21 17:06:56.000000000 +0100
+++ src/core/unixfsservices.cpp 2014-06-15 01:44:45.000000000 +0200
@@ -792,7 +792,7 @@ bool cUnixFSServices::FullPath( TSTRING&
// Returns normal string to append to backup files for this os.
// (e.g. "~" for unix and ".bak" for winos)
///////////////////////////////////////////////////////////////////////////////
-TCHAR* cUnixFSServices::GetStandardBackupExtension() const
+const TCHAR* cUnixFSServices::GetStandardBackupExtension() const
{
return _T(".bak");
}