Revision: 41831
http://brlcad.svn.sourceforge.net/brlcad/?rev=41831&view=rev
Author: brlcad
Date: 2010-12-29 06:45:51 +0000 (Wed, 29 Dec 2010)
Log Message:
-----------
quell unused and sign comparison
Modified Paths:
--------------
brlcad/trunk/src/libmultispectral/sh_temp.c
Modified: brlcad/trunk/src/libmultispectral/sh_temp.c
===================================================================
--- brlcad/trunk/src/libmultispectral/sh_temp.c 2010-12-29 06:37:57 UTC (rev
41830)
+++ brlcad/trunk/src/libmultispectral/sh_temp.c 2010-12-29 06:45:51 UTC (rev
41831)
@@ -62,11 +62,11 @@
#define TX_O(m) bu_offsetof(struct temp_specific, m)
struct bu_structparse temp_parse[] = {
- {"%s", TXT_NAME_LEN, "file", bu_offsetofarray(struct temp_specific,
t_file), BU_STRUCTPARSE_FUNC_NULL },
- {"%d", 1, "w", TX_O(t_w),
BU_STRUCTPARSE_FUNC_NULL },
- {"%d", 1, "n", TX_O(t_n),
BU_STRUCTPARSE_FUNC_NULL },
- {"%d", 1, "l", TX_O(t_n),
BU_STRUCTPARSE_FUNC_NULL }, /*compat*/
- {"", 0, (char *)0, 0,
BU_STRUCTPARSE_FUNC_NULL }
+ {"%s", TXT_NAME_LEN, "file", bu_offsetofarray(struct temp_specific,
t_file), BU_STRUCTPARSE_FUNC_NULL, NULL, NULL },
+ {"%d", 1, "w", TX_O(t_w),
BU_STRUCTPARSE_FUNC_NULL, NULL, NULL },
+ {"%d", 1, "n", TX_O(t_n),
BU_STRUCTPARSE_FUNC_NULL, NULL, NULL },
+ {"%d", 1, "l", TX_O(t_n),
BU_STRUCTPARSE_FUNC_NULL, NULL, NULL }, /*compat*/
+ {"", 0, (char *)0, 0,
BU_STRUCTPARSE_FUNC_NULL, NULL, NULL }
};
/*
@@ -229,13 +229,13 @@
* T X T _ S E T U P
*/
HIDDEN int
-temp_setup(register struct region *rp, struct bu_vls *matparm, char **dpp,
const struct mfuncs *mfp, struct rt_i *rtip)
+temp_setup(register struct region *rp, struct bu_vls *matparm, char **dpp,
const struct mfuncs *mfp, struct rt_i *UNUSED(rtip))
/* New since 4.4 release */
{
register struct temp_specific *tp;
- int pixelbytes = 8;
+ size_t pixelbytes = 8;
BU_CK_VLS( matparm );
BU_GETSTRUCT( tp, temp_specific );
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits