From 558d7ee1d388cdd78a66ef4faf2b2f449957c12f Mon Sep 17 00:00:00 2001 From: evghenii Date: Tue, 14 Oct 2014 15:49:50 +0200 Subject: [PATCH] fix compilation with gcc481 --- ptxtools/ptxcc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptxtools/ptxcc.cpp b/ptxtools/ptxcc.cpp index dfdad2d1..474ab3ff 100644 --- a/ptxtools/ptxcc.cpp +++ b/ptxtools/ptxcc.cpp @@ -98,7 +98,7 @@ static void lGetAllArgs(int Argc, char *Argv[], int &argc, char *argv[128]) } const char *lGetExt (const char *fspec) { - char *e = strrchr (fspec, '.'); + const char *e = strrchr (fspec, '.'); return e; }