Permalink
Browse files

fixed an issue regarding defining global variables in C header files:…

… we should have defined rds_rough_col_type_t as a type rather than a global variable. thanks @姜大炮.
  • Loading branch information...
1 parent d2f8afd commit 6c3728153db659602e0d16aa6b08cbb212b01fe2 @agentzh agentzh committed Jul 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/resty_dbd_stream.h
View
@@ -12,7 +12,7 @@
(sizeof(rds_content_type) - 1)
-enum {
+typedef enum {
rds_rough_col_type_int = 0 << 14,
rds_rough_col_type_float = 1 << 14,
rds_rough_col_type_str = 2 << 14,

0 comments on commit 6c37281

Please sign in to comment.