1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 19:57:36 +00:00

Compiler nits for void * assignments from Bob Supnik

This commit is contained in:
Mark Pizzolato
2013-09-04 19:50:47 -07:00
parent 4cc4d12e19
commit 4e5f910fed
13 changed files with 40 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
/* sds_drm.c: SDS 940 Project Genie drum simulator
Copyright (c) 2002-2008, Robert M. Supnik
Copyright (c) 2002-2013, Robert M. Supnik
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
@@ -25,6 +25,8 @@
drm drum
03-Sep-13 RMS Added explicit void * cast
The drum is buffered in memory.
Note: the Project Genie documentation and the actual monitor sources disagree
@@ -191,7 +193,7 @@ t_stat drm_svc (UNIT *uptr)
{
int32 t, rda;
uint32 dpc, dwd;
uint32 *fbuf = uptr->filebuf;
uint32 *fbuf = (uint32 *) uptr->filebuf;
if (drm_sta != DRM_SXFR) { /* fetch drum prog? */
dpc = M[DRM_PC]; /* get drum PC */