X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=sim%2Fm68hc11%2Fdv-m68hc11eepr.c;h=88bd121980d8ee1a4c3f4fdfe1d92263cfe671da;hb=2c2645d7a8b0498d7b581eae709e0f2ba51dcfe6;hp=6fee524da528a88c4a45d457dd056e84dcec985b;hpb=618f726fcb851883a0094aa7fa17003889b7189f;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/m68hc11/dv-m68hc11eepr.c b/sim/m68hc11/dv-m68hc11eepr.c index 6fee524da5..88bd121980 100644 --- a/sim/m68hc11/dv-m68hc11eepr.c +++ b/sim/m68hc11/dv-m68hc11eepr.c @@ -1,5 +1,5 @@ /* dv-m68hc11eepr.c -- Simulation of the 68HC11 Internal EEPROM. - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2021 Free Software Foundation, Inc. Written by Stephane Carrez (stcarrez@nerim.fr) (From a driver model Contributed by Cygnus Solutions.) @@ -217,7 +217,7 @@ attach_m68hc11eepr_regs (struct hw *me, controller->attach_space = attach_space; controller->base_address = attach_address; - controller->eeprom = (char*) hw_malloc (me, attach_size + 1); + controller->eeprom = hw_malloc (me, attach_size + 1); controller->eeprom_min_cycles = 10000; controller->size = attach_size + 1; controller->mapped = 0;