mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
[apps/shared] Avoid container casting when possible
Change-Id: I646e605c88ad577ebd9102032aad77ff8eae6ad7
This commit is contained in:
@@ -57,7 +57,7 @@ bool GraphController::handleEnter() {
|
||||
}
|
||||
|
||||
void GraphController::reloadBannerView() {
|
||||
AppsContainer * container = (AppsContainer *)app()->container();
|
||||
AppsContainer * container = ((App *)app())->container();
|
||||
m_bannerView.setLegendAtIndex((char *)"y = ax+b", 0);
|
||||
char buffer[k_maxNumberOfCharacters + Complex::bufferSizeForFloatsWithPrecision(Constant::LargeNumberOfSignificantDigits)];
|
||||
const char * legend = "a = ";
|
||||
|
||||
Reference in New Issue
Block a user