← Back to team overview

cuneiform team mailing list archive

[Bug 655826] [NEW] superfluous cast of mkdtemp() result

 

Public bug reported:

>From Kern/ctb/src/ctb_tool.c:

   ctb_tmp_dir = (char*)mkdtemp(ctb_tmp_dir);

As far as I can see, the (char*) typecast is superfluous, mkdtemp()
already returns char*.

** Affects: cuneiform-linux
     Importance: Undecided
         Status: New

-- 
superfluous cast of mkdtemp() result
https://bugs.launchpad.net/bugs/655826
You received this bug notification because you are a member of Cuneiform
Linux, which is the registrant for Cuneiform for Linux.

Status in Linux port of Cuneiform: New

Bug description:
>From Kern/ctb/src/ctb_tool.c:

   ctb_tmp_dir = (char*)mkdtemp(ctb_tmp_dir);

As far as I can see, the (char*) typecast is superfluous, mkdtemp() already returns char*.





Follow ups

References