diff --git a/src/include/86box/mem.h b/src/include/86box/mem.h index c94d8cbbd..69a2b5de8 100644 --- a/src/include/86box/mem.h +++ b/src/include/86box/mem.h @@ -447,8 +447,8 @@ extern void mem_close(void); extern void mem_reset(void); extern void mem_remap_top(int kb); -extern mem_mapping_t *read_mapping[MEM_MAPPINGS_NO]; -extern mem_mapping_t *write_mapping[MEM_MAPPINGS_NO]; +extern mem_mapping_t *read_mapping[MEM_MAPPINGS_NO]; +extern mem_mapping_t *write_mapping[MEM_MAPPINGS_NO]; #ifdef EMU_CPU_H static __inline uint32_t diff --git a/src/nvr_at.c b/src/nvr_at.c index e4009262e..581eccf71 100644 --- a/src/nvr_at.c +++ b/src/nvr_at.c @@ -332,7 +332,7 @@ static void time_get(nvr_t *nvr, struct tm *tm) { const local_t *local = (local_t *) nvr->data; - int8_t temp; + int8_t temp; if (nvr->regs[RTC_REGB] & REGB_DM) { /* NVR is in Binary data mode. */ @@ -370,7 +370,7 @@ static void time_set(nvr_t *nvr, struct tm *tm) { const local_t *local = (local_t *) nvr->data; - int year = (tm->tm_year + 1900); + int year = (tm->tm_year + 1900); if (nvr->regs[RTC_REGB] & REGB_DM) { /* NVR is in Binary data mode. */ diff --git a/src/qt/qt_renderercommon.cpp b/src/qt/qt_renderercommon.cpp index 723211266..1eef4863c 100644 --- a/src/qt/qt_renderercommon.cpp +++ b/src/qt/qt_renderercommon.cpp @@ -143,5 +143,4 @@ RendererCommon::eventDelegate(QEvent *event, bool &result) result = QApplication::sendEvent(parentWidget, event); return true; } - return false; }