File: zutil.c.diff

package info (click to toggle)
libtk-img 1%3A1.3-15etch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 20,144 kB
  • ctags: 14,513
  • sloc: ansic: 110,000; sh: 65,326; tcl: 2,844; asm: 996; cpp: 560; pascal: 536; makefile: 436
file content (19 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** zutil.c.orig	Fri Jul 14 22:13:46 2000
--- zutil.c	Sat Jul 15 14:09:42 2000
***************
*** 211,217 ****
      unsigned size;
  {
      if (opaque) items += size - size; /* make compiler happy */
!     return (voidpf)calloc(items, size);
  }
  
  void  zcfree (opaque, ptr)
--- 211,217 ----
      unsigned size;
  {
      if (opaque) items += size - size; /* make compiler happy */
!     return (voidpf)malloc(items*size);
  }
  
  void  zcfree (opaque, ptr)