summaryrefslogtreecommitdiff
path: root/gs/src/idparam.c
diff options
context:
space:
mode:
authorRussell Lang <gsview@ghostgum.com.au>2002-10-07 08:28:56 +0000
committerRussell Lang <gsview@ghostgum.com.au>2002-10-07 08:28:56 +0000
commitbee6f34029e58442f6e997527bb7a72aaed70094 (patch)
tree2fc828a3235f2fa5400497e81f4a2dc40138d5a8 /gs/src/idparam.c
parentaff5f1d0e781ccab381eacc36d4a5f7e0c9f7bc5 (diff)
Apply casts to remove lots of warnings from MSVC 6.
Update some Windows color mapping functions for DeviceN. Change order of arguments for the gs_pdf14_device_filter_push function and the calls to the device filter push procedure to match the prototype. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@3122 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/idparam.c')
-rw-r--r--gs/src/idparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/src/idparam.c b/gs/src/idparam.c
index c0740c0c5..c4fba29b2 100644
--- a/gs/src/idparam.c
+++ b/gs/src/idparam.c
@@ -147,7 +147,7 @@ dict_float_param(const ref * pdict, const char *kstr,
}
switch (r_type(pdval)) {
case t_integer:
- *pvalue = pdval->value.intval;
+ *pvalue = (float)pdval->value.intval;
return 0;
case t_real:
*pvalue = pdval->value.realval;