Fix warnings about deprecated automatic (char *) cast.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32708 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -84,7 +84,7 @@ AddTranslationItems(BMenu* intoMenu, uint32 fromType)
|
|||||||
|
|
||||||
use = BTranslatorRoster::Default();
|
use = BTranslatorRoster::Default();
|
||||||
translatorIdName = "be:translator";
|
translatorIdName = "be:translator";
|
||||||
translatorTypeName = "be:type";
|
translatorTypeName = (char *)"be:type";
|
||||||
translator_id* ids = NULL;
|
translator_id* ids = NULL;
|
||||||
int32 count = 0;
|
int32 count = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -633,7 +633,7 @@ VideoConsumer::FtpThread()
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
VideoConsumer::UpdateFtpStatus(char* status)
|
VideoConsumer::UpdateFtpStatus(const char* status)
|
||||||
{
|
{
|
||||||
printf("FTP STATUS: %s\n",status);
|
printf("FTP STATUS: %s\n",status);
|
||||||
if (fView->Window()->Lock()) {
|
if (fView->Window()->Lock()) {
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ class VideoConsumer : public BMediaEventLooper, public BBufferConsumer {
|
|||||||
|
|
||||||
void FtpThread();
|
void FtpThread();
|
||||||
|
|
||||||
void UpdateFtpStatus(char* status);
|
void UpdateFtpStatus(const char* status);
|
||||||
|
|
||||||
status_t LocalSave(char* filename, BBitmap* bitmap);
|
status_t LocalSave(char* filename, BBitmap* bitmap);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user