We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d78d16 commit 8367529Copy full SHA for 8367529
src/interfaces/ecpg/lib/typename.c
@@ -1,3 +1,4 @@
1
+#include <stdlib.h>
2
#include <ecpgtype.h>
3
/*
4
* This function is used to generate the correct type names.
@@ -7,7 +8,7 @@ ECPGtype_name(enum ECPGttype typ)
7
8
{
9
switch (typ)
10
- case ECPGt_char:return "char";
11
+ case ECPGt_char:return "char";
12
case ECPGt_unsigned_char:
13
return "unsigned char";
14
case ECPGt_short:
@@ -31,4 +32,5 @@ ECPGtype_name(enum ECPGttype typ)
31
32
default:
33
abort();
34
}
35
+ return NULL;
36
0 commit comments