[segyio] 58/376: Preserve constness of returned static string
Jørgen Kvalsvik
jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
jokva-guest pushed a commit to branch debian
in repository segyio.
commit 2a27207218c015f0f6413d99b64c846ef08d1b56
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date: Wed Oct 19 14:05:03 2016 +0200
Preserve constness of returned static string
---
src/applications/segyinspect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/applications/segyinspect.c b/src/applications/segyinspect.c
index 479e645..b34ddf3 100644
--- a/src/applications/segyinspect.c
+++ b/src/applications/segyinspect.c
@@ -27,7 +27,7 @@ static const char* getSampleFormatName( int format ) {
}
}
-static char* getFastestDirectionName( int sorting ) {
+static const char* getFastestDirectionName( int sorting ) {
if ( sorting == CROSSLINE_SORTING) {
return "CROSSLINE";
} else {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git
More information about the debian-science-commits
mailing list