-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
597ef05
commit 4ce75b6
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright 2013-2023, Stefano Ceccherini <[email protected]> | ||
* Copyright 2013-2024, Stefano Ceccherini <[email protected]> | ||
* All rights reserved. Distributed under the terms of the MIT license. | ||
*/ | ||
#include "BSCApp.h" | ||
|
@@ -290,7 +290,7 @@ BSCApp::MessageReceived(BMessage *message) | |
case kEncodingFinished: | ||
{ | ||
status_t error; | ||
message->FindInt32("status", (int32*)&error); | ||
message->FindInt32("status", reinterpret_cast<int32*>(&error)); | ||
const char* fileName = NULL; | ||
message->FindString("file_name", &fileName); | ||
_EncodingFinished(error, fileName); | ||
|
@@ -695,7 +695,7 @@ BSCApp::TogglePause() | |
int32 | ||
BSCApp::RecordedFrames() const | ||
{ | ||
return atomic_get((int32*)&fNumFrames); | ||
return atomic_get(const_cast<int32*>(&fNumFrames)); | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters