diff --git a/src/apps/rdemo/Demo_Environment.h b/src/apps/rdemo/Demo_Environment.h index 19f73890..890cce6f 100644 --- a/src/apps/rdemo/Demo_Environment.h +++ b/src/apps/rdemo/Demo_Environment.h @@ -33,7 +33,7 @@ auto Demo_Environment = [](Application& app) if (ImGuiLTable::Begin("environment")) { - float hours = dt.hours(); + float hours = (float)dt.hours(); if (ImGuiLTable::SliderFloat("Time of day (UTC)", &hours, 0.0f, 23.999f, "%.1f")) { dt = DateTime(dt.year(), dt.month(), dt.day(), hours); diff --git a/src/apps/rdemo/Demo_Label.h b/src/apps/rdemo/Demo_Label.h index ec0a2b4c..7030e45a 100644 --- a/src/apps/rdemo/Demo_Label.h +++ b/src/apps/rdemo/Demo_Label.h @@ -61,12 +61,15 @@ auto Demo_Label = [](Application& app) auto& label = app.entities.get