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:
Lucas Rocha 2008-10-22 14:31:58 +00:00 committed by Lucas Almeida Rocha
parent 04c5badd69
commit 9a32d9b093
4 changed files with 6 additions and 4 deletions

View File

@ -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;

View File

@ -23,6 +23,7 @@
#include <stdio.h>
#include <glib.h>
#include "girparser.h"
#include "girmodule.h"
#include "girnode.h"
#include "gtypelib.h"

View File

@ -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,

View File

@ -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 */