Written by Fred Fish <fnf@cygnus.com>
Rewritten by Jim Blandy <jimb@cygnus.com>
- Copyright (C) 1999-2015 Free Software Foundation, Inc.
+ Copyright (C) 1999-2016 Free Software Foundation, Inc.
This file is part of GDB.
/* The user's string isn't in the list. Insert it after *ps. */
{
struct bstring *newobj
- = obstack_alloc (&bcache->cache, BSTRING_SIZE (length));
+ = (struct bstring *) obstack_alloc (&bcache->cache,
+ BSTRING_SIZE (length));
memcpy (&newobj->d.data, addr, length);
newobj->length = length;