mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 11:12:11 +01:00
fix some build warnings.
2008-10-22 Lucas Rocha <lucasr@gnome.org> * girepository/girmodule.c, girepository/gtypelib.c, girepository/girparser.[ch]: fix some build warnings. svn path=/trunk/; revision=783
This commit is contained in:
parent
04c5badd69
commit
9a32d9b093
@ -74,7 +74,7 @@ g_ir_module_build_typelib (GIrModule *module,
|
||||
{
|
||||
GTypelib *typelib;
|
||||
gsize length;
|
||||
gint i;
|
||||
guint i;
|
||||
GList *e;
|
||||
Header *header;
|
||||
DirEntry *entry;
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include "girparser.h"
|
||||
#include "girmodule.h"
|
||||
#include "girnode.h"
|
||||
#include "gtypelib.h"
|
||||
|
@ -26,8 +26,9 @@
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
||||
GList *g_ir_parse_string (const gchar *buffer,
|
||||
GList *g_ir_parse_string (const gchar *namespace,
|
||||
const gchar *const *includes,
|
||||
const gchar *buffer,
|
||||
gssize length,
|
||||
GError **error);
|
||||
GList *g_ir_parse_file (const gchar *filename,
|
||||
|
@ -54,7 +54,7 @@ validate_interface_blob (ValidateContext *ctx,
|
||||
guint32 offset,
|
||||
GError **error);
|
||||
|
||||
DirEntry *
|
||||
static DirEntry *
|
||||
get_dir_entry_checked (GTypelib *typelib,
|
||||
guint16 index,
|
||||
GError **error)
|
||||
@ -876,7 +876,7 @@ validate_constant_blob (GTypelib *typelib,
|
||||
guint32 offset,
|
||||
GError **error)
|
||||
{
|
||||
gint value_size[] = {
|
||||
guint value_size[] = {
|
||||
0, /* VOID */
|
||||
4, /* BOOLEAN */
|
||||
1, /* INT8 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user