File: 020_64bits.diff

package info (click to toggle)
kxl 1.1.7-17
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 4,060 kB
  • sloc: sh: 8,448; ansic: 1,288; makefile: 12
file content (21 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- kxl-1.1.7.orig/src/KXL.h
+++ kxl-1.1.7/src/KXL.h
@@ -150,12 +152,12 @@
 #define KXL_KEY_Braceright      0x07d
 #define KXL_KEY_Asciitilde      0x07e
 // Type of variable
-typedef signed char    Sint8;
-typedef unsigned char  Uint8;
-typedef signed short   Sint16;
-typedef unsigned short Uint16;
-typedef signed long    Sint32;
-typedef unsigned long  Uint32;
+typedef int8_t     Sint8;
+typedef uint8_t    Uint8;
+typedef int16_t    Sint16;
+typedef uint16_t   Uint16;
+typedef int32_t    Sint32;
+typedef uint32_t   Uint32;
 // Image
 typedef struct {
   Pixmap Buffer;         // Drawing image