diff options
author | Karl Schultz <kschultz@freedesktop.org> | 2001-11-29 16:16:55 +0000 |
---|---|---|
committer | Karl Schultz <kschultz@freedesktop.org> | 2001-11-29 16:16:55 +0000 |
commit | 9c8cbe6950096c4ec2fd1963edbc6c993c86947f (patch) | |
tree | 3dcf4a5d511c59e94f25740afb028ca5e7fca8ca /src/glu/sgi/libnurbs/internals/sorter.cc | |
parent | 4e6c835210bd0e8e8467a1c75723af6af4b41fb4 (diff) | |
download | external_mesa3d-9c8cbe6950096c4ec2fd1963edbc6c993c86947f.zip external_mesa3d-9c8cbe6950096c4ec2fd1963edbc6c993c86947f.tar.gz external_mesa3d-9c8cbe6950096c4ec2fd1963edbc6c993c86947f.tar.bz2 |
Fix compilation errors and warnings for NURBS support. (Robert Bergkvist)
Diffstat (limited to 'src/glu/sgi/libnurbs/internals/sorter.cc')
-rw-r--r-- | src/glu/sgi/libnurbs/internals/sorter.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glu/sgi/libnurbs/internals/sorter.cc b/src/glu/sgi/libnurbs/internals/sorter.cc index 308f8e8..876b34b 100644 --- a/src/glu/sgi/libnurbs/internals/sorter.cc +++ b/src/glu/sgi/libnurbs/internals/sorter.cc @@ -35,8 +35,8 @@ /* * sorter.c++ * - * $Date: 2001/03/17 00:25:41 $ $Revision: 1.1 $ - * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/internals/sorter.cc,v 1.1 2001/03/17 00:25:41 brianp Exp $ + * $Date: 2001/11/29 16:16:55 $ $Revision: 1.2 $ + * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libnurbs/internals/sorter.cc,v 1.2 2001/11/29 16:16:55 kschultz Exp $ */ #include "glimports.h" @@ -84,7 +84,7 @@ Sorter::qs1( char *a, char *l ) unsigned int n; start: - if((n=l-a) <= es) + if((n=l-a) <= (unsigned int)es) return; n = es * (n / (2*es)); hp = lp = a+n; |