From: <hug...@li...> - 2013-02-25 17:54:21
|
branch: details: http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/hgroot/hugin/hugin/rev/da9449005d4d changeset: 6176:da9449005d4d user: tmodes date: Mon Feb 25 18:55:00 2013 +0100 description: Fixes one more compiler warning diffstat: src/hugin1/ptbatcher/PTBatcherGUI.cpp | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diffs (20 lines): diff -r caed526eacc2 -r da9449005d4d src/hugin1/ptbatcher/PTBatcherGUI.cpp --- a/src/hugin1/ptbatcher/PTBatcherGUI.cpp Sun Feb 24 13:44:59 2013 +0100 +++ b/src/hugin1/ptbatcher/PTBatcherGUI.cpp Mon Feb 25 18:55:00 2013 +0100 @@ -465,12 +465,14 @@ #if wxCHECK_VERSION(2,9,0) #define RETURNEMPTYSTRING return wxEmptyString const void* BatchIPCConnection::OnRequest(const wxString& topic, const wxString& item, size_t* size, wxIPCFormat format) +{ + *size=wxNO_LEN; #else #define RETURNEMPTYSTRING return ((wxChar*) "") wxChar* BatchIPCConnection::OnRequest(const wxString& topic, const wxString& item, int* size, wxIPCFormat format) +{ + *size=-1; #endif -{ - *size=wxNO_LEN; BatchFrame* MyBatchFrame=wxGetApp().GetFrame(); if(item.Left(1)==wxT("A")) { |