mirror of
https://github.com/open-simh/simh.git
synced 2026-05-05 15:43:58 +00:00
Compiler nits for void * assignments from Bob Supnik
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* pdp11_rf.c: RF11 fixed head disk simulator
|
||||
|
||||
Copyright (c) 2006-2012, Robert M Supnik
|
||||
Copyright (c) 2006-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 @@
|
||||
|
||||
rf RF11 fixed head disk
|
||||
|
||||
03-Sep-13 RMS Added explicit void * cast
|
||||
19-Mar-12 RMS Fixed bug in updating mem addr extension (Peter Schorn)
|
||||
25-Dec-06 RMS Fixed bug in unit mask (John Dundas)
|
||||
26-Jun-06 RMS Cloned from RF08 simulator
|
||||
@@ -322,7 +323,7 @@ t_stat rf_svc (UNIT *uptr)
|
||||
{
|
||||
uint32 ma, da, t;
|
||||
uint16 dat;
|
||||
uint16 *fbuf = uptr->filebuf;
|
||||
uint16 *fbuf = (uint16 *) uptr->filebuf;
|
||||
|
||||
if ((uptr->flags & UNIT_BUF) == 0) { /* not buf? abort */
|
||||
update_rfcs (RFCS_NED|RFCS_DONE, 0); /* nx disk */
|
||||
|
||||
Reference in New Issue
Block a user