Branch: refs/heads/ta/use-xasprintf
  Home:   https://github.com/fvwmorg/fvwm
  Commit: d45dd24cbf2b8fff378682b467ed18b4b12f9f67
      
https://github.com/fvwmorg/fvwm/commit/d45dd24cbf2b8fff378682b467ed18b4b12f9f67
  Author: Thomas Adam <[email protected]>
  Date:   2016-04-05 (Tue, 05 Apr 2016)

  Changed paths:
    M libs/safemalloc.c
    M libs/safemalloc.h
    M modules/FvwmIconBox/FvwmIconBox.h
    M modules/FvwmScroll/FvwmScroll.h
    M modules/FvwmWharf/Wharf.h

  Log Message:
  -----------
  safemalloc: use void */size_t

Convert the guts of safemalloc() to use size_t for the amount of memory to
allocate.  Additionally, don't use char* where void* is now implied, since
this requires the use of casts, which for malloc() isn't wanted any more, and
dangerous, when it can affect type safety.


Reply via email to