X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcc65%2Floop.c;h=cb58d126fb92422673f46696ca9ac1220fc3be23;hb=9a62c92489bc3e0bb92a34e792a8e696b012f973;hp=732a12b7dd475fd1a2c005f379145f962eee0272;hpb=d341e0ad767e43518364bbcceb2dd2900f92ddb9;p=cc65 diff --git a/src/cc65/loop.c b/src/cc65/loop.c index 732a12b7d..cb58d126f 100644 --- a/src/cc65/loop.c +++ b/src/cc65/loop.c @@ -63,10 +63,8 @@ LoopDesc* AddLoop (unsigned sp, unsigned loop, unsigned label, unsigned linc, unsigned lstat) /* Create and add a new loop descriptor */ { - LoopDesc* L; - /* Allocate a new struct */ - L = xmalloc (sizeof (LoopDesc)); + LoopDesc* L = (LoopDesc*) xmalloc (sizeof (LoopDesc)); /* Fill in the data */ L->StackPtr = sp;