Mercurial > hg > xemacs-beta
comparison src/device-x.c @ 4956:3461165c79be
fix compile errors due to mismatched string pointer types
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-01-28 Ben Wing <ben@xemacs.org>
* device-x.c (x_init_device):
* emodules.c (emodules_load):
* emodules.c (emodules_doc_subr):
* emodules.c (emodules_doc_sym):
* emodules.h:
Make the externally-called functions emodules_doc_sym() and
emodules_doc_subr() take Ascbyte * pointers since they're usually
passed string constants and we can't guarantee the encoding if
it's not ASCII. Fix pointer type in calls to dll_variable(), etc.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Thu, 28 Jan 2010 01:15:10 -0600 |
parents | 304aebb79cd3 |
children | 0d4c9d0f6a8d |
comparison
equal
deleted
inserted
replaced
4955:de64354ffcbf | 4956:3461165c79be |
---|---|
583 */ | 583 */ |
584 if (xaw_dll_handle != NULL) | 584 if (xaw_dll_handle != NULL) |
585 { | 585 { |
586 /* Look for the Xaw3d function */ | 586 /* Look for the Xaw3d function */ |
587 dll_func xaw_function_handle = | 587 dll_func xaw_function_handle = |
588 dll_function (xaw_dll_handle, "Xaw3dComputeTopShadowRGB"); | 588 dll_function (xaw_dll_handle, |
589 (const Ibyte *) "Xaw3dComputeTopShadowRGB"); | |
589 | 590 |
590 /* If we found it, warn the user in big, nasty, unfriendly letters */ | 591 /* If we found it, warn the user in big, nasty, unfriendly letters */ |
591 if (xaw_function_handle != NULL) | 592 if (xaw_function_handle != NULL) |
592 { | 593 { |
593 warn_when_safe (Qdevice, Qcritical, "\n" | 594 warn_when_safe (Qdevice, Qcritical, "\n" |