Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
c8772c28
Commit
c8772c28
authored
Mar 11, 2005
by
Sebastien Barre
Browse files
COMP: fix some warnings
parent
63cd6e39
Changes
2
Show whitespace changes
Inline
Side-by-side
Source/kwsys/SystemTools.cxx
View file @
c8772c28
...
...
@@ -1405,7 +1405,7 @@ unsigned long SystemTools::FileLength(const char* filename)
}
else
{
return
fs
.
st_size
;
return
static_cast
<
unsigned
long
>
(
fs
.
st_size
)
;
}
}
...
...
@@ -2310,7 +2310,7 @@ SystemTools::GetFilenameWithoutLastExtension(const kwsys_stl::string& filename)
bool
SystemTools
::
FileHasSignature
(
const
char
*
filename
,
const
char
*
signature
,
unsigned
long
offset
)
long
offset
)
{
if
(
!
filename
||
!
signature
)
{
...
...
Source/kwsys/SystemTools.hxx.in
View file @
c8772c28
...
...
@@ -268,7 +268,7 @@ public:
static kwsys_stl::string GetCurrentWorkingDirectory();
///! return true if the file has a given signature (first set of bytes)
static bool FileHasSignature(const char* filename, const char *signature,
unsigned
long offset = 0);
static bool FileHasSignature(const char* filename, const char *signature, long offset = 0);
/**
* Try to locate the file 'filename' in the directory 'dir'.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment