From 27ab5b66c5de5d73e231fa6cb4ed66f87e8a85d2 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Mon, 26 Apr 2004 21:55:23 +0000 Subject: [PATCH] Changed char* in const char* in csprint. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1312 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/wx-console/csprint.h | 2 +- bacula/src/wx-console/wxbmainframe.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/wx-console/csprint.h b/bacula/src/wx-console/csprint.h index e4777a32ee..ce0975d41e 100644 --- a/bacula/src/wx-console/csprint.h +++ b/bacula/src/wx-console/csprint.h @@ -35,6 +35,6 @@ #define CS_TERMINATED 99 /* used to signal that the thread is terminated */ /* function called by console_thread to send events back to the GUI */ -void csprint(char* str, int status=CS_DATA); +void csprint(const char* str, int status=CS_DATA); #endif diff --git a/bacula/src/wx-console/wxbmainframe.cpp b/bacula/src/wx-console/wxbmainframe.cpp index 520b916797..6d52cd0e74 100644 --- a/bacula/src/wx-console/wxbmainframe.cpp +++ b/bacula/src/wx-console/wxbmainframe.cpp @@ -499,7 +499,7 @@ void firePrintEvent(wxString str, int status) * Called by console thread, this function forwards data line by line and end * signals to the GUI. */ -void csprint(char* str, int status) +void csprint(const char* str, int status) { if (str != 0) { firePrintEvent(wxString(str), status); -- 2.39.5