mirror of
https://github.com/open-simh/simh.git
synced 2026-01-26 04:02:39 +00:00
Compiler nits for void * assignments from Bob Supnik
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* pdp18b_drm.c: drum/fixed head disk simulator
|
||||
|
||||
Copyright (c) 1993-2008, Robert M Supnik
|
||||
Copyright (c) 1993-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,7 @@
|
||||
|
||||
drm (PDP-4,PDP-7) Type 24 serial drum
|
||||
|
||||
03-Sep-13 RMS Added explicit void * cast
|
||||
14-Jan-04 RMS Revised IO device call interface
|
||||
26-Oct-03 RMS Cleaned up buffer copy code
|
||||
05-Dec-02 RMS Updated from Type 24 documentation
|
||||
@@ -181,7 +182,7 @@ t_stat drm_svc (UNIT *uptr)
|
||||
{
|
||||
int32 i;
|
||||
uint32 da;
|
||||
int32 *fbuf = uptr->filebuf;
|
||||
int32 *fbuf = (int32 *) uptr->filebuf;
|
||||
|
||||
if ((uptr->flags & UNIT_BUF) == 0) { /* not buf? abort */
|
||||
drm_err = 1; /* set error */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* pdp18b_rb.c: RB09 fixed head disk simulator
|
||||
|
||||
Copyright (c) 2003-2008, Robert M Supnik
|
||||
Copyright (c) 2003-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,7 @@
|
||||
|
||||
rb RB09 fixed head disk
|
||||
|
||||
03-Sep-13 RMS Added explicit void * cast
|
||||
14-Jan-04 RMS Revised IO device call interface
|
||||
26-Oct-03 RMS Cleaned up buffer copy code
|
||||
|
||||
@@ -240,7 +241,7 @@ return r;
|
||||
t_stat rb_svc (UNIT *uptr)
|
||||
{
|
||||
int32 t, sw;
|
||||
int32 *fbuf = uptr->filebuf;
|
||||
int32 *fbuf = (int32 *) uptr->filebuf;
|
||||
|
||||
if ((uptr->flags & UNIT_BUF) == 0) { /* not buf? abort */
|
||||
rb_updsta (RBS_NRY | RBS_DON); /* set nxd, done */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* pdp18b_rf.c: fixed head disk simulator
|
||||
|
||||
Copyright (c) 1993-2008, Robert M Supnik
|
||||
Copyright (c) 1993-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"),
|
||||
@@ -26,6 +26,7 @@
|
||||
rf (PDP-9) RF09/RF09
|
||||
(PDP-15) RF15/RS09
|
||||
|
||||
03-Sep-13 RMS Added explicit void * cast
|
||||
04-Oct-06 RMS Fixed bug, DSCD does not clear function register
|
||||
15-May-06 RMS Fixed bug in autosize attach (David Gesswein)
|
||||
14-Jan-04 RMS Revised IO device call interface
|
||||
@@ -265,7 +266,7 @@ return dat;
|
||||
t_stat rf_svc (UNIT *uptr)
|
||||
{
|
||||
int32 f, pa, d, t;
|
||||
int32 *fbuf = uptr->filebuf;
|
||||
int32 *fbuf = (int32 *) uptr->filebuf;
|
||||
|
||||
if ((uptr->flags & UNIT_BUF) == 0) { /* not buf? abort */
|
||||
rf_updsta (RFS_NED | RFS_DON); /* set nxd, done */
|
||||
|
||||
Reference in New Issue
Block a user