diff options
author | Alexander Myltsev <avm@altlinux.org> | 2008-11-24 07:58:55 +0300 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2008-11-25 16:15:50 +0100 |
commit | 52fa52f93943a6154cf2ac9b473d6b4948d75a15 (patch) | |
tree | 263645dc993cd5c41e6f0584b02e0529c780f154 | |
parent | 397266cb2a209122c34b8c0f57e63b45f6924b22 (diff) |
spectre-device.c: fix warning.
-rw-r--r-- | libspectre/spectre-device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libspectre/spectre-device.c b/libspectre/spectre-device.c index f034c04..9908284 100644 --- a/libspectre/spectre-device.c +++ b/libspectre/spectre-device.c @@ -21,6 +21,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <stdint.h> #include "spectre-device.h" #include "spectre-gs.h" @@ -239,7 +240,7 @@ spectre_device_render (SpectreDevice *device, #endif DISPLAY_TOPFIRST); args[arg++] = dsp_handle = _spectre_strdup_printf ("-sDisplayHandle=16#%llx", - (unsigned long long int)device); + (uintptr_t)device); if (rc->use_platform_fonts == FALSE) args[arg++] = "-dNOPLATFONTS"; |