{
char addr[64];
if (NILP(XASE_METRIC_LDIST(obj))) {
- snprintf(addr, 63, " 0x%x",
- (unsigned int)XASE_METRIC_DIST(obj));
+ snprintf(addr, 63, " %p", XASE_METRIC_DIST(obj));
} else {
Lisp_Object ldist = XASE_METRIC_LDIST(obj);
if (SYMBOLP(ldist)) {
struct sound_alsa_aj_data_s {
/* stream props */
- size_t samplerate; /* rate used on the device */
+ unsigned int samplerate; /* rate used on the device */
unsigned int channels; /* channels used on the device */
size_t framesize; /* resulting framesize */
snd_pcm_format_t format;
{
char *temp;
- temp = (char *)tparm(string, arg1, arg2, arg3, arg4, arg5, arg6, arg7,
+ temp = (char *)tparm((char *)string, arg1, arg2, arg3, arg4, arg5, arg6, arg7,
arg8, arg9);
if (outstring == 0) {
outstring = (char *)xmalloc_atomic(strlen(temp) + 1);
{
Lisp_Image_Instance *ii = XIMAGE_INSTANCE(image_instance);
Window droot;
- unsigned int dx, dy, dbdw, dd, dw = 20, dh = 20;
+ int dx, dy;
+ unsigned int dbdw, dd, dw = 20, dh = 20;
XGetGeometry(IMAGE_INSTANCE_X_SUBWINDOW_DISPLAY(ii),
(Window)IMAGE_INSTANCE_SUBWINDOW_ID(ii),