freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master 446720a29: * src/cff/cffparse.c (CFF_Field_Handler):


From: Werner Lemberg
Subject: [freetype2] master 446720a29: * src/cff/cffparse.c (CFF_Field_Handler): Some s/0/NULL/.
Date: Sat, 9 Sep 2023 23:04:46 -0400 (EDT)

branch: master
commit 446720a29e3a0615e3312b92e38eea0dabca6ea7
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    * src/cff/cffparse.c (CFF_Field_Handler): Some s/0/NULL/.
---
 src/cff/cffparse.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/cff/cffparse.c b/src/cff/cffparse.c
index 3b076704c..77992ab6f 100644
--- a/src/cff/cffparse.c
+++ b/src/cff/cffparse.c
@@ -1064,7 +1064,7 @@
             code | CFFCODE,               \
             FT_FIELD_OFFSET( name ),      \
             FT_FIELD_SIZE( name ),        \
-            0, 0, 0                       \
+            NULL, 0, 0                    \
           },
 
 #define CFF_FIELD_DELTA( code, name, max, id ) \
@@ -1073,7 +1073,7 @@
             code | CFFCODE,                    \
             FT_FIELD_OFFSET( name ),           \
             FT_FIELD_SIZE_DELTA( name ),       \
-            0,                                 \
+            NULL,                              \
             max,                               \
             FT_FIELD_OFFSET( num_ ## name )    \
           },
@@ -1083,7 +1083,7 @@
 
 #include "cfftoken.h"
 
-    { 0, 0, 0, 0, 0, 0, 0 }
+    { 0, 0, 0, 0, NULL, 0, 0 }
   };
 
 
@@ -1117,7 +1117,7 @@
             code | CFFCODE,               \
             FT_FIELD_OFFSET( name ),      \
             FT_FIELD_SIZE( name ),        \
-            0, 0, 0,                      \
+            NULL, 0, 0,                   \
             id                            \
           },
 
@@ -1127,7 +1127,7 @@
             code | CFFCODE,                    \
             FT_FIELD_OFFSET( name ),           \
             FT_FIELD_SIZE_DELTA( name ),       \
-            0,                                 \
+            NULL,                              \
             max,                               \
             FT_FIELD_OFFSET( num_ ## name ),   \
             id                                 \
@@ -1138,7 +1138,7 @@
 
 #include "cfftoken.h"
 
-    { 0, 0, 0, 0, 0, 0, 0, 0 }
+    { 0, 0, 0, 0, NULL, 0, 0, NULL }
   };
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]