~ubuntu-branches/ubuntu/utopic/gettext/utopic

« back to all changes in this revision

Viewing changes to gettext-tools/gnulib-lib/glibconfig.in.h

  • Committer: Colin Watson
  • Date: 2010-08-01 21:36:08 UTC
  • mfrom: (2.1.10 sid)
  • Revision ID: cjwatson@canonical.com-20100801213608-yy7vkm8lpatep3ci
merge from Debian 0.18.1.1-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 * This library is free software; you can redistribute it and/or
5
5
 * modify it under the terms of the GNU General Public
6
6
 * License as published by the Free Software Foundation; either
7
 
 * version 2 of the License, or (at your option) any later version.
 
7
 * version 3 of the License, or (at your option) any later version.
8
8
 *
9
9
 * This library is distributed in the hope that it will be useful,
10
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
40
40
typedef size_t gsize;
41
41
typedef ssize_t gssize;
42
42
 
43
 
#define GPOINTER_TO_INT(p)      ((gint)   (p))
44
 
#define GPOINTER_TO_UINT(p)     ((guint)  (p))
 
43
#define GPOINTER_TO_INT(p)      ((gint)  (intptr_t)  (p))
 
44
#define GPOINTER_TO_UINT(p)     ((guint) (uintptr_t) (p))
45
45
 
46
 
#define GINT_TO_POINTER(i)      ((gpointer)  (i))
47
 
#define GUINT_TO_POINTER(u)     ((gpointer)  (u))
 
46
#define GINT_TO_POINTER(i)      ((gpointer) (intptr_t)  (i))
 
47
#define GUINT_TO_POINTER(u)     ((gpointer) (uintptr_t) (u))
48
48
 
49
49
#define g_memmove memmove
50
50